I tried to plot two contz plots on the same canvas. If I type line-by-line of the code (in file test.C) in command line then it works fine. But If I include those lines in a file, i.e. test.C and run ‘root -l test.C’ then the second plot will be cut off at 1 in x-axis, which should not be.
I have included a data file (test.root) and code file (test.C).
In the above plot, it draw two color palettes one for each plot. How do I plot only one color palette for all plots on the same canvas?
Just one comment: It does not plot “contz” for second plot “beta_P”. To do this, I have to write “same contz” but this will draw two color palettes. However, these two color palettes overlap each other.