Drawing a TF2 with Logarithmic x and y axes

When I try to draw a TF2 with logarithmic axes (Using TCanvas::SetLogx()/SetLogy()), the evaluation points are being chosen linearly so that the resulting plot appears as a small section opposite to the origin (i.e. no small values are evaluated), with most of the graph blank. The z-axis does not have the same problem.

Is there a way to correct this behaviour?

Cheers,

Hugh

Yes you are right, the algorithm could be improved for log scales.
A temporary solution is to increase the number of points where the function is computed via the SetNpx,y functions, but it will take more time to draw.

Rene