----- Original Message ----- From: Wolfgang Korsch <korsch@helium3.pa.uky.edu> To: <roottalk@pcroot.cern.ch> Sent: 25 мая 2000 г. 13:54 Subject: [ROOT] Frame within a frame > > Hi, > is there a way to produce a smaller frame inside a frame? > Let's say I have a histogram and I'd like to zoom in on a subsection > of the histgram and display it in a smaller frame within the original > frame. > Is that possible with root? What you asking about is called TPad object. TPad object can be nested as long as one finds useful. Each new TPad is created witin the current TPad TPad *p1 = new TPad (..) p1->cd(); p1 = new TPad(,,,) create 2 nested pads.(like those your draft presents) You can create TPad object from within your code or interactively via "Edit" menu of canvas. Try any example from $ROOTSYS/tutorials to see how multipad Canvas work Valery > > Something like: > > |---------------| > | |----| | > | | xx | | > | x |----| | > | x x | > | x x x | > |---------------| > > > Thanks. > > Wolfgang > >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:26 MET