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 revision Previous revision
root:setaxisrange [2012/08/15 11:57]
nchiap added info for THStack
root:setaxisrange [2014/03/11 10:20] (current)
nchiap [X Axis of TGraph] add missing call to GetXaxis
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