Hi Wei, Please read the documentation of TPad::Divide at: http://root.cern.ch/root/htmldoc/TPad.html#TPad:Divide and see many examples in the tutorials. Rene Brun Xie Wei wrote: > > Hi all > > If define a canvas and segment it as followed. How to get subpad ? > > TCavnas* cc = new TCavnas("cc", "", 700, 500); > cc->Divide(2,2); > > In a macro, it simply can be done via calling them directly cc_1, cc_2, > cc_3, cc_4, but in a compiled code this doesn't work since they are not > pre-define. > > Thanks! > --Wei
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:12 MET