Graph log scale around 1

Hi

I’m running this simple commands:

double y[3] = {0.1,1,10}; 
double x[3] = {1,2,3}; 
TGraph graph(3,x,y);
graph->Draw("A*");

Then on the pad I right-click on the pad and select SetLogy and the thing gives me the following error:

It doesn’t happen when the y range doesn’t include 1 (and clearly the argument is not zero at 1, its the logarithm the one that’is zero)

What’s going on?

I’m using ROOT 4.00/08

Javier

This problem is now fixed in the CVS head. Thanks to have reported it. Meanwhile you can work around it by creating a canvas and turn the Y log scale on before performing the Draw command.