This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
root:setaxisrange [2011/05/11 15:35] – added solution for my latest problem nchiap | root:setaxisrange [2011/05/11 15:39] – [Y Axis of a normalized Histogram] nchiap | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Y Axis of a normalized Histogram ===== | ===== Y Axis of a normalized Histogram ===== | ||
- | Assume you have a histogram which has been normalized it with **hist-> | + | Assume you have a histogram which has been normalized it with |
- | When your Y-axis will show values between 0 and 1. | + | <code c++> |
- | Trying to set the Y range using these values, eg. **SetRangeUser(0.01, | + | hist-> |
+ | </ | ||
+ | Your Y-axis will show values between 0 and 1. | ||
+ | Trying to set the Y range using these values, eg. | ||
+ | <code c++>SetRangeUser(0.01, | ||
+ | will fail however. | ||
You still need to give the range in the original unnormalized units. | You still need to give the range in the original unnormalized units. | ||