Dear All
I am trying to fill a range of the area under a graph using “F”, option.
I added to the data file two point with (xmin,0)&(xmax,0).
so the option F works perfectly for the full area.
if at the end I add the option
gr1->Draw(“APL”); it will draw curve with point and line. (1)
gr1->Draw(“APF”); it will draw a filled curved (2)
gr1->Draw(“APLF”); this option does not keep the line ?? (3)
How can I fill and Keep the line??
and is it possible to fill only a range from the curve, without adding an additional point (x_range,0)??
cheers
1.pdf (17.4 KB)
2.pdf (17.4 KB)
3.pdf (17.4 KB)
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided