Hello everyone,
i want to make a pad with marker used in my figure as a reference, i try TLegend but i don’t know what to insert?
my macro :
TNtuple *ntuple = new TNtuple(“ntuple”,“my ntuple”,“slat:z1:z2:z3:z4”);
then
ntuple->Fill( data…
then
ntuple->SetMarkerStyle(22);
ntuple->SetMarkerColor(3);
ntuple->Draw(“z1:slat”,"", “same”);
…
i tried this
TLegend *legend=new TLegend(0.13,0.45,0.44,0.87);
legend->AddEntry(“z1:slat”,“z1”,“p”);
legend->AddEntry(“z2:slat”,“z2”,“p”);
legend->SetTextSize(0.02);
legend->Draw();
now i have pad with z1and z2 but without markers??
any idea Please??