I run a C ++ macro to make a plot and saved it as .C as well as .eps files so that I can make the changes in .C (mainly cosmetic) if required.
But when I run this .C file I found that it did not take the Markerstyle and color as was in the original macro.
I can see that in .C file the markerstyle and line style are different. Could someone suggest what could be the cause and why it did not gives the exact output for legend entry as running original macro??
When I save your canvas as a .C file I see that the legend is no correct when I execute the saved C file. I guess that’s what you mean with "in .C file the markerstyle and line style are different."
I am investigating
Find attached original macro, simply a C++ file. When I run this macro in root I get a plot . Now I save this plot as .C and .eps file.
Now if I run the save .C file in root I get the same MarkerStyle and Line color for all the curves in the plot but if you see the .C , they have been defined for different marker style and color.
So question is when running this .C why I do not get the same legends as my original macro. trak_effect_1T.C (2.12 KB)