Hi,
I am using polynomial fit for some data. I don’t want to plot the original data and only want to plot the fitted graph so I set gr2->SetLineWidth(0). But this creates a problem when I am trying to plot the legend for this graph, since it is not showing the dashed lines corresponding to the plot since for the original plot I have set width=0.
I don’t really understand your point: you want to hide a plot and nevertheless show it in the legend ? what’s the point of showing in a legend something which does not appear on the plot ?