Could you (as a work around) not just plot it twice with different options (once as line and once as filled)?
That’s what I do for data sometimes to have the data on top.
Hi Lukash,
sure I could do that, but it is extremely annoying when you need to plot the legend,
because in the list of the objects of the frame there are some entries repeated twice.
This example won’t work indeed :
for (unsigned int i = 0; i < 2nElements; i++)
{
TString objName = myFrameY->nameOf(i);
if ((objName == “”) continue;
TObject obj = myFrameY->findObject(objName.Data());
legY->AddEntry(obj,legNames[it++],“LP”);
legY->SetTextFont(42);
}
Of course with little programming effort I can make every work around that I want,
but I was wondering whether ROOT-programmers had a way to do this properly.