User Tools

Site Tools


root:changemarkerstyle

Change Marker Style

To change the marker style, you have to do:

TGraph* myGraph = TGraph();
//...
myGraph->Draw();  /** This is important */
myGraph->SetMarkerStyle(20);

It will not work if the marker style is set before the graph is drawn. as your file will be empty.

root/changemarkerstyle.txt · Last modified: 2010/11/09 16:04 by nchiap