This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
| root:setaxisrange [2011/05/11 15:39] – [Y Axis of a normalized Histogram] nchiap | root:setaxisrange [2012/08/15 11:57] – added info for THStack nchiap | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| hist-> | hist-> | ||
| </ | </ | ||
| + | |||
| + | ===== Y Axis of a THStack ===== | ||
| + | Do not try to '' | ||
| + | Instead use the following code: | ||
| + | <code c++> | ||
| + | THStack *hs = new THStack(" | ||
| + | hs-> | ||
| + | hs-> | ||
| + | </ | ||
| + | |||
| ===== X Axis of TGraph ===== | ===== X Axis of TGraph ===== | ||