Code covered by the BSD License
function createfigure(X1, Y1) %CREATEFIGURE(X1,Y1) % X1: vector of x data % Y1: vector of y data % Auto-generated by MATLAB on 26-Sep-2012 11:14:46 % Create figure figure1 = figure; % Create axes axes1 = axes('Parent',figure1); box(axes1,'on'); hold(axes1,'all'); % Create plot plot(X1,Y1); % Create xlabel xlabel('Time (s)'); % Create ylabel ylabel('Voltage Mag. (V)');
Contact us