Rüdiger Berlich <ruediger.berlich@iwr.fzk.de> writes:
> Hi there,
> since I've upgraded to SuSE Linux 9.0 + root 3.10 there
> is some strange behaviour wrt. function plotting.
>
> A command
>
> TF1 *myfun2 =
> new TF1("myfun2","2000*(-(x-1.82)+
> 0.6+exp(-pow((x-1.97),2.)/0.0001))",
> 1.88,2.05);
> myfun2->Draw();
>
> will plot the function from y=550 to y=3000 ,
> whereas with SuSE 8.2 (ROOT 3.05.07) it used to plot
> the function from 0 to 3000.
>
> This is bad, since some macros that draw lines in the
> plot depend on the plot starting at y=0.
Hi,
can you use myfun2->SetMinimum(0.) to force the range of the plot?
cheers
Jiri
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET