Chris Jillings wrote: > > Hello all, > I am preparing some plots. I need to plot something like the lines of > latitude as viewed from the north pole. This is straight forward; I > create a bunch of TGraph objects which trace out circles at 30, 60 and 90 > degrees and draw them. > > p1->DrawFrame(-1,-1,1,1,"Time Fitter Forward"); > g30->Draw("L"); > g60->Draw("L"); > g90->Draw("L"); > > (I have defined the g90 graph to trace a circle of unit radius.) > > The problem is that the frame is drawn so I have a box labelled -1 to 1 > for the x and y axes. Is there an equivalent of the TPad::DrawFrame which > defines everthing like DrawFrame but does notactually draw the frame? > > I did try I few things like setting the style to plain and setting the > gStyle->SetFrameLineColor(kWhite); Some, but not all of the frame > disappeared. Trying SetFrameLineWidth(0) did not work. > Hi Chris, TPad::DrawFrame sets the pad range and draws a frame. If you simply want to set the pad range, call TPad::Range. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:28 MET