12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- function createfigure(x1, y1, y2, y3, y4)
- %CREATEFIGURE(X1,Y1,Y2,Y3,Y4)
- % X1: vector of x data
- % Y1: vector of y data
- % Y2: vector of y data
- % Y3: vector of y data
- % Y4: vector of y data
-
- % Auto-generated by MATLAB on 04-Jun-2007 12:35:18
-
- %% Create figure
- figure1 = figure();
-
- %% Create axes
- axes1 = axes('Parent',figure1);
- xlabel(axes1,'Relative SUV');
- ylabel(axes1,'Relative Dose Prescription Boost');
- hold(axes1,'all');
-
- %% Create plot
- plot1 = plot(...
- x1,y1,...
- 'Parent',axes1,...
- 'DisplayName','linear');
-
- %% Create plot
- plot2 = plot(...
- x1,y2,...
- 'Parent',axes1,...
- 'DisplayName','square root');
-
- %% Create plot
- plot3 = plot(...
- x1,y3,...
- 'Parent',axes1,...
- 'DisplayName','quadratic');
-
- %% Create plot
- plot4 = plot(...
- x1,y4,...
- 'Parent',axes1,...
- 'DisplayName','gompertz');
-
- %% Create legend
- legend1 = legend(axes1,{'linear','square root','quadratic','gompertz'},'Position',[0.1696 0.6861 0.2196 0.1889]);
-
|