Matlab is very EASY, professional and scientific tool for plotting and programming. I suggest MATLAB, see e.g., https://www.youtube.com/watch?v=mu0NCzgBPaE
The point of drawing the dose volume histogram (DVH-in Radiotherapy) is that there is no direct relationship between X and Y values at the end of the diagram. At the end of all lines should hit the x-axis without the final value being zero, which is unclear to me.
Muhammad Ali Thank you Muhammad Ali. I must say that even though this plot is called a histogram, it is not a histogram, and is most like a linear plot.
the challenge is that the end of the plot is at the highest dose value on the x-axis, even though the corresponding value on the y-axis (volume) is about 80- 90, for correctness from a clinical point of view (in radiotherapy to check the accuracy of the dose) it must hit to the x-axis and have a value of zero (it is drawn with the treatment planning software in bed mode).
Thus, it may be interesting for you to say that drawing it outside the treatment planning software is not compatible with the simple rule of plots.