function plot_data(data, varargin)
%% documentation should be here!
 
if isnumeric(data) && ~isempty(data)
    hndl = plot(data);
else
    fprintf(2, ['Input variable ''data''', ...
         'is not a numerical variable.']);
    return;
end

while length(varargin) > 1
    set(hndl,varargin{1},varargin{2});
    varargin(1:2) = [];
end