Hi Bram, This problem was fixed a few days ago in the CVS version. Rene Brun Bram Wijngaarden wrote: > > Hi, > > I used to be able to plot functions on a log scale but recently I get the > "Error in <THistPainter::PaintInit>: log scale requested with zero or > negative argument (0.000000)" error when I try to do this. Is this a bug, > a feature, and more importantly, how do I get around it? > > Sample code snippet: > > new TCanvas(); > TF1* test = new TF1("test", "gaus", -10, 10); > test->SetParameters(100, 0, 1); > test->Draw(); // OK > gPad->SetLogy(); > test->Draw(); // Not OK > > Thanks, > Bram > > - > D.A. Wijngaarden Meijhorst 6422 > AiO KUN-EHEF 6537 LE Nijmegen > Experiment: D0 The Netherlands > Work phone: +31 24 365 2822 > Fax: +31 24 365 2191 > "Fuimus" - Robert the Bruce
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET