123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- function humanfigure(x1,y1,y2)
- %y1, y2, y5, y6, y7, y8, y9, y10, y11, y12, y13, y14
-
- %% Create figure
- figure1 = figure;
-
- %% Create axes
- axes1 = axes('FontSize',20,'XGrid','on','YGrid','on','XMinorTick','on','YMinorTick','on',...
- 'Box','on','Parent',figure1);
- axis(axes1,[70 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],...
- 'LineStyle','--',...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor 2.45 cm EDVH');
- %% Create plot
- plot2 = plot(...
- x1,y2,...
- 'Color',[0,0,0],...
- 'LineWidth',3,...
- 'Parent',axes1,...
- 'DisplayName','tumor 0.625cm EDVH');
- %
- % %% Create plot
- % plot3 = plot(...
- % x1,y3,...
- % 'Color',[0.5,0.5,0.5],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','prescription DVH');
-
- % %% Create plot
- % plot4 = plot(...
- % x1,y4,...
- % 'Color',[0.75,0,0.75],...
- % 'LineStyle','--',...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','tumor 2.45 cm eDVH');
- % plot5 = plot(...
- % x1,y5,...
- % 'Color',[0.75 0 0.75],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','tumor eDVH');
- %
- % %% Create plot
- % plot6 = plot(...
- % x1,y6,...
- % 'Color',[0.25 0.25 0.25],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','prescription eDVH');
- %
- % %% Create plot
- % plot6 = plot(...
- % x1,y6,...
- % 'Color',[1 0 0],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','normal 0.625 cm');
- %
- % %% Create plot
- % plot7 = plot(...
- % x1,y7,...
- % 'Color',[0.749 0.749 0],...
- % 'LineStyle','--',...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','larynx 2.45 cm');
- %
- % %% Create plot
- % plot8 = plot(...
- % x1,y8,...
- % 'Color',[0.749 0.749 0],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','larynx 0.625 cm');
- %
- % %% Create plot
- % plot9 = plot(...
- % x1,y9,...
- % 'Color',[0.749 0 0.749],...
- % 'LineStyle','--',...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','right parotid 2.45 cm');
- %
- % %% Create plot
- % plot10 = plot(...
- % x1,y10,...
- % 'Color',[0.749 0 0.749],...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','right parotid 0.625 cm');
- %
- % %% Create plot
- % plot11 = plot(...
- % x1,y11,...
- % 'Color',[0.8549 0.702 1],...
- % 'LineStyle','--',...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','left parotid 2.45 cm');
- %
- % %% Create plot
- % plot12 = plot(...
- % x1,y12,...
- % 'Color',[0.8549 0.702 1],...
- % 'Parent',axes1,...
- % 'LineWidth',3,...
- % 'DisplayName','left parotid 0.625 cm');
- %
- % %% Create plot
- % plot13 = plot(...
- % x1,y13,...
- % 'Color',[0 0.498 0],...
- % 'LineStyle','--',...
- % 'LineWidth',3,...
- % 'Parent',axes1,...
- % 'DisplayName','cord 2.45 cm');
- %
- % %% Create plot
- % plot14 = plot(...
- % x1,y14,...
- % 'Color',[0 0.498 0],...
- % 'Parent',axes1,...
- % 'LineWidth',3,...
- % 'DisplayName','cord 0.625 cm');
-
- %% Create legend
- legend1 = legend(axes1,{'tumor 2.45 cm EDVH','tumor 0.625 cm eDVH'},...
- 'FontName','Arial',...
- 'FontSize',20,...
- 'Location','NorthEast');
- % %'normal 2.45 cm','normal 0.625 cm',...
- % 'larynx 2.45 cm', 'larynx 0.625 cm',...
- % 'right parotid 2.45 cm','right parotid 0.625 cm',...
- % 'left parotid 2.45 cm','left parotid 0.625cm',...
- % 'cord 2.45 cm','cord 0.625 cm'},...
-
|