123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- function normalfigure(x1, y1, y2, y3, y4, y5, y6,y7,)
- %% 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 50 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','right parotid linear');
- % Create plot
- plot2 = plot(...
- x1,y2,...
- 'Color',[0 0 0],...
- 'LineStyle','--',...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','right parotid square root');
-
- %% Create plot
- plot3 = plot(...
- x1,y3,...
- 'Color',[0 0 0],...
- 'LineStyle','-.',...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','right parotid quadratic');
- plot4 = plot(...
- x1,y4,...
- 'Color',[0.3 0.3 0.3],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','larynx linear');
- %% Create plot
- plot5 = plot(...
- x1,y5,...
- 'Color',[0.3 0.3 0.3],...
- 'LineStyle','--',...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','larynx square root');
- %% Create plot
- plot6 = plot(...
- x1,y6,...
- 'Color',[0.3 0.3 0.3],...
- 'LineWidth',3,...
- 'LineStyle','-.',...
- 'Parent',axes1,...
- 'DisplayName','larynx quadratic');
-
- % %% Create plot
- % plot7 = plot(...
- % x1,y7,...
- % 'Color',[0 0 1],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','right parotid linear');
- %
- % %% Create plot
- % plot8 = plot(...
- % x1,y8,...
- % 'Color',[0 0.5 0],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','right parotid square root');
- %
- % %% Create plot
- % plot9 = plot(...
- % x1,y9,...
- % 'Color',[1 0 0],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','right parotid quadratic');
- %
- % %% Create plot
- % plot10 = plot(...
- % x1,y10,...
- % 'Color',[0.75 0 0.75],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','right parotid Gompertz');
- %
- % %% Create plot
- % plot11 = plot(...
- % x1,y11,...
- % 'Color',[0 0 0],...
- % 'LineStyle','--',...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','cord uniform');
- %
- % %% Create plot
- % plot12 = plot(...
- % x1,y12,...
- % 'Color',[0 0 1],...
- % 'Parent',axes1,...
- % 'LineStyle','--',...
- % 'LineWidth',3,...
- % 'DisplayName','cord linear');
- %
- % %% Create plot
- % plot13 = plot(...
- % x1,y13,...
- % 'Color',[0 0.5 0],...
- % 'LineStyle','--',...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','cord square root');
- %
- % %% Create plot
- % plot14 = plot(...
- % x1,y14,...
- % 'Color',[1 0 0],...
- % 'LineStyle','--',...
- % 'Parent',axes1,...
- % 'LineWidth',3,...
- % 'DisplayName','cord quadratic');
- %
- % %% Create plot
- % plot15 = plot(...
- % x1,y15,...
- % 'Color',[0.75 0 0.75],...
- % 'LineStyle','--',...
- % 'Parent',axes1,...
- % 'LineWidth',3,...
- % 'DisplayName','cord Gompertz');
-
- %% Create legend
- legend1 = legend(axes1,{'right parotid linear','right parotid square root','right parotid quadratic',...
- 'cord linear','cord square root','cord quadratic'},...
- 'FontName','Arial',...
- 'FontSize',20,...
- 'Location','NorthEast');
-
|