| createfigureHess(x1, y1, data_real1, data_imag1, data_abs1, data_ind1)
|
function createfigureHess(x1, y1, data_real1, data_imag1, data_abs1, data_ind1)
%CREATEFIGURE2(X1,Y1,DATA_REAL1,DATA_IMAG1,DATA_ABS1,DATA_IND1)
% X1: vector of x data
% Y1: vector of y data
% DATA_REAL1: vector of x data
% DATA_IMAG1: vector of y data
% DATA_ABS1: vector of x data
% DATA_IND1: vector of y data
% Auto-generated by MATLAB on 21-Aug-2007 10:56:10
% Create figure
figure1 = figure;
% Create axes
axes1 = axes('Parent',figure1,'YGrid','on','XGrid','on',...
'Position',[0.13 0.11 0.5831 0.815]);
% Uncomment the following line to preserve the X-limits of the axes
% xlim([-1.5 1.5]);
% Uncomment the following line to preserve the Y-limits of the axes
% ylim([-1.5 1.5]);
box('on');
hold('all');
% Create plot
plot(x1,y1,'DisplayName','y1 vs x1','Parent',axes1);
% Create xlabel
xlabel('Real');
% Create ylabel
ylabel('Imag');
% Create plot
plot(data_real1,data_imag1,'DisplayName','data_imag vs data_real',...
'Parent',axes1,...
'Marker','o',...
'LineStyle','none',...
'Color',[0 0.498 0]);
% Create axes
axes2 = axes('Parent',figure1,'Position',[0.823 0.1076 0.128 0.815]);
% Uncomment the following line to preserve the X-limits of the axes
xlim([0.5 1.5]);
box('on');
hold('all');
% Create plot
plot(data_abs1,data_ind1,'DisplayName','data_ind vs data_abs',...
'Parent',axes2,...
'Marker','o',...
'Color',[0 0.498 0]);
% Create xlabel
xlabel('Magnitude');
|
|