12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- function plotQVH(x1,y1,y2,y3)
-
- %% 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]);
- title('Parameter X','FontSize',20,'FontWeight','Bold')
- 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','Parameter = X');
- plot2 = plot(...
- x1,y2,...
- 'Color',[0,0,0],...
- 'LineWidth',3,...
- 'LineStyle','--',...
- 'Parent',axes1,...
- 'DisplayName','Parameter = X');
- plot3 = plot(...
- x1,y3,...
- 'Color',[0,0,0],...
- 'LineWidth',3,...
- 'LineStyle','-.',...
- 'Parent',axes1,...
- 'DisplayName','Parameters = X');
-
- %% Create legend
- legend1 = legend(axes1,{'parameter1','parameter2','parameter3'},...
- 'FontName','Arial',...
- 'FontSize',20,...
- 'Location','NorthEast');
-
|