1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- function humanfigure(x1,y1,y2,y3,y4)
-
- %% Create figure
- figure1 = figure;
-
- %% Create axes
- axes1 = axes('FontSize',20,'XGrid','on','YGrid','on','XMinorTick','on','YMinorTick','on',...
- 'Box','on','Parent',figure1);
- axis(axes1,[0 2 0 100]);
- xlabel(axes1,'Dose [Gy]','FontWeight','Bold','FontName','Arial',...
- 'FontSize',20);
- ylabel(axes1,'Percent Volume','FontWeight','Bold','FontName','Arial',...
- 'FontSize',20);
- hold(axes1,'all');
- %% Create plot
- plot1 = plot(...
- x1,y1,...
- 'Color',[0 0 0],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor uniform');
- %% Create plot
- plot2 = plot(...
- x1,y2,...
- 'Color',[0 0 0],...
- 'LineWidth',3,...
- 'LineStyle','--',...
- 'Parent',axes1,...
- 'DisplayName','tumor linear');
-
- %% Create plot
- plot3 = plot(...
- x1,y3,...
- 'Color',[0 0 0],...
- 'LineWidth',3,...
- 'LineStyle','-.',...
- 'Parent',axes1,...
- 'DisplayName','tumor square root');
- plot4 = plot(...
- x1,y4,...
- 'Color',[0 0 0],...
- 'LineWidth',3,...
- 'LineStyle','.',...
- 'Parent',axes1);
-
- %% Create legend
- legend1 = legend(axes1,{'y_beam = 2.450 cm','y_beam = 1.000 cm','y_beam = 0.625 cm','y_beam = 0.250 cm'},...
- 'FontName','Arial',...
- 'FontSize',20,...
- 'Location','NorthEast');
-
|