User Tools

Site Tools


root:setaxisrange

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
root:setaxisrange [2012/08/15 11:57] – added info for THStack nchiaproot:setaxisrange [2014/03/11 10:20] (current) – [X Axis of TGraph] add missing call to GetXaxis nchiap
Line 42: Line 42:
 TGraph* myGraph = new TGraph(); TGraph* myGraph = new TGraph();
 ... ...
-myGraph->SetLimits(lower,upper);+myGraph->GetXaxis()->SetLimits(lower,upper);
 </code> </code>
  
  
root/setaxisrange.txt · Last modified: 2014/03/11 10:20 by nchiap