Hello All,
I am trying to see if I can use multiple markers with a single plot. The reason is to identify visually points on a plot. Here is what I wrote:
You are using always the same pointer DetectPos1 to draw the markers. So the markers attributes will be the last ones you defined. What kind of object is DetectPos1 ? can you send a complete macro showing the problem ?
One simple answer (independant to the kind of object you are using) would be to have 5 “DetectPos” and draw them in the loop like:
for (Int_t i=0;i<6;i++) {
DetectPos[i]->SetMarkerSize(3);
DetectPos[i]->SetMarkerStyle(20+i);
DetectPos[i]->SetMarkerColor(31+i);
DetectPos[i]->Draw();
}