Polymarkers

Hallo,

I want to use Legends which I implement the following way:

TLegend *leg1 = new TLegend(0.15,0.70,0.30,0.87, NULL, “brNDC”);
leg1->SetFillStyle(0);
leg1->SetFillColor(0);
leg1->SetBorderSize(0);
leg1->AddEntry (gMy_LAr, “LAr”, “F”);
leg1->Draw();

gMy is of type TH1F* with the attribute SetMarkerStyle() set to some value and drawn with the method DrawCopy().

In the Legend I always recieve the MarkerStyle 21 what ever Style the histogramm is drawn in.
What can I do about this?

Cheers Roger

Replace:
leg1->AddEntry (gMy_LAr, “LAr”, “F”);
by
leg1->AddEntry (gMy_LAr, “LAr”, “P”);

Rene