Hi Alexander,
To work correctly, RedrawAxis assumes that the pad axis
have been drawn via a TH1 (or samething via TPad::DrawFrame).
Try your example with eg $ROOTSYS/tutorials/gerrors2.C
Rene Brun
On Wed, 9 Jul
2003
A.Dietz@mpi-hd.mpg.de wrote:
> Hi,
>
> I have problems to redraw a grid on a TGraph. I do
> something like this:
>
> ...
> graph->SetFillColor(2);
> graph->Draw("AB");
> c1->Update();
> c1->RedrawAxis("g");
> c1->Update();
>
> But nothing happens, the grid is not drawn ON the plot. How to achieve
> this?
>
> Cheers
> Alexander
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET