123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- function tumorSigFigure(x1,y1,y2,y3,y4,y5,y6,y7,y8)
-
- %% Create figure
- figure1 = figure;
-
- %% Create axes
- axes1 = axes('FontSize',20,'XGrid','on','YGrid','on','XMinorTick','on','YMinorTick','on',...
- 'Box','on','Parent',figure1);
- axis(axes1,[60 100 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 sigmoid center = 0.1');
- %% Create plot
- plot2 = plot(...
- x1,y2,...
- 'Color',[0,0,1],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor sigmoid center = 0.2');
-
- %% Create plot
- plot3 = plot(...
- x1,y3,...
- 'Color',[0,0.5,0],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor sigmoid center = 0.3');
- plot4 = plot(...
- x1,y4,...
- 'Color',[1 0 0],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor sigmoid center = 0.4');
- plot5 = plot(...
- x1,y5,...
- 'Color',[0.75 0 0.75],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor sigmoid center = 0.5');
- plot6 = plot(...
- x1,y6,...
- 'Color',[0.1 0.25 0.5],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor sigmoid center = 0.6');
- plot7 = plot(...
- x1,y7,...
- 'Color',[0.5 0.8 0],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor sigmoid center = 0.7');
- plot8 = plot(...
- x1,y8,...
- 'Color',[0.8 0.5 0],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor sigmoid center = 0.8');
-
- %% Create legend
- legend1 = legend(axes1,{'sigmoid center = 0.1','sigmoid center = 0.2','sigmoid center = 0.3','sigmoid center = 0.4','sigmoid center = 0.5','sigmoid center = 0.6','sigmoid center = 0.7','sigmoid},...
- 'FontName','Arial',...
- 'FontSize',20,...
- 'Location','NorthEast');
-
|