Hi Yannick, The possibility to scale Profile histograms was implemented in version 2.25/02. See TProfile::Scale The same for your second question. You can project a Profile histogram into 1 simple 1-D histogram, see : http://root.cern.ch/root/html/TProfile.html#TProfile:ProjectionX http://root.cern.ch/root/html/TProfile.html#TProfile:Scale Rene Brun Patois Yannick wrote: > > Hi, > > When one wants to superimposes two histos as shown in the exemple > 'twoscales.C', it requieres at some point a call to 'Scale()'. > > But on TProfile histo, the 'Scale()' method doesnt work as on regular > histo, and so the macro is not working properly. > > - Is there a way to really 'scale' a TProfile ? > - Is there an easy way to convert a TProfile into a regular TH1D histo ? > > Thanx for any help. > > Yannick > > -- > _/ Yannick Patois _________________ Address (home) __________________ > | irc(undernet): Garp on #france25+ | La Villa des Sciences | > | email : patois@ganil.fr | 12, avenue de Cambridge | > | http://garp.feelingsurfer.net/ | 14200 Herouville-Saint-Clair | > | Tel/Fax-home:+33 (0)2 31 94 50 32 | FRANCE |
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:32 MET