[ROOT] how to get subpad

From: Xie Wei (xiewei@rcf2.rhic.bnl.gov)
Date: Thu Dec 20 2001 - 06:28:43 MET


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