Hi Patrick, As far as I now: 1) A Graph is just a collection of points, therefore one should always first draw a histogram or a frame (gPad->DrawFrame) in order to visualize the graph. You can set the axis fonts and sizes using gStyle->SetLabelFont() etc. 2) To have a graph occupy a part of a canvas, you can either use TCanvas->Divide(), or make your own pads (TPad *mypad=new TPad("mypad","a pad",0.1,0.1,0.9,0.9); ). (These have to be made, drawn and cd'ed to, before using them). I hope this helps, good luck, Marco van Leeuwen. On Fri, 24 Mar 2000, Patrick Dupre LCMI wrote: > Hello, > > Is there anyway to put a TGraph inside a TGFrame, or a TCanvas inside > a TGCanvas ? > Thank. > > -- > --- > ============================================================================== > Patrick DUPRE | | Tel: (33 4) 76-88-78-51 > CNRS/LCMI (GHMFL) | | Fax: (33 4) 76-85-56-10 > 25 Rue des Martyrs, BP 166 | | http://eschyle.polycnrs-gre.fr > F-38042 GRENOBLE Cedex 09 | | email: pdupre@polycnrs-gre.fr > ============================================================================== >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:22 MET