Code covered by the BSD License  

Highlights from
Demo Files for "Data Analysis with Statistics and Curve Fitting Toolboxes" 2007 Webinar

image thumbnail

Demo Files for "Data Analysis with Statistics and Curve Fitting Toolboxes" 2007 Webinar

by

 

08 Aug 2007 (Updated )

Demo file from the August 7, 2007 Live Webinar

createfigure(X1, Y1, X2)
function createfigure(X1, Y1, X2)
%CREATEFIGURE(X1,Y1,X2)
%  X1:  vector of x data
%  Y1:  vector of y data
%  X2:  vector of x data

%  Auto-generated by MATLAB on 27-Jul-2007 12:20:13

% Create figure
figure1 = figure;

% Create axes
axes('Parent',figure1,'YGrid','on','XGrid','on');
% Uncomment the following line to preserve the X-limits of the axes
% xlim([0 5e-005]);
% Uncomment the following line to preserve the Y-limits of the axes
% ylim([0 5e-005]);
box('on');
hold('all');

% Create plot
plot(X1,Y1,'Marker','o','LineStyle','none');

% Create xlabel
xlabel('Left');

% Create ylabel
ylabel('Right');

% Create plot
plot(X2,X2,'DisplayName','[0 4e-5] vs [0 4e-5]','LineWidth',2,...
    'Color',[0 0 0]);

axis equal tight

Contact us