TH1D *hist = new TH1D("hist","Example Histogram",100,0,10); hist->SetMarkerStyle(24); // Triangle style
TH1D *hist = new TH1D("hist","Example Histogram",100,0,10); hist->SetMarkerStyle(20); // Circle styleThis code creates a histogram object named "hist" and sets the marker style to a circle style (style 20). Package/Library: ROOT package/library.