Re: Adding a Pad into a Canvas

From: Timothy Smith (tps@nucleon.mit.edu)
Date: Wed Oct 20 1999 - 16:25:44 MEST


An alternative solution is not to make a TPad, but
rather to continue to subdivide the TCanvas. 

Try this:

root [0] TCanvas *c1 = new TCanvas("c1","c1")
root [1] c1->Divide(2,2)                     
root [2] c1_1->Divide(2,2)                   
root [3] c1_1->cd(3)

	The Canvas is divided into 4, and then first quarter
	is subdivided into 4 more.

					Tim Smith
_____________________________________________________________________
 Timothy Paul Smith                               Research Scientist
 MIT Bates Lab                                     tim_smith@mit.edu
 21 Manning Rd.                                 tel:  (617) 253-9207
 Middleton, MA 01949                            fax:  (617) 253-9599



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET