Hi, May be you can have a look at the tutorial macro zones.C. (I put it is attachment) Cheers, Olivier On Thu, 19 Feb 2004, Michael Groys wrote: > Hello, > I want to create plot with matrix of histograms. > Each one of them has the same x and y axis ranges. > So I want to plot axis labels once in the right side > and once in the bottom side of the matrix. In > addition I don't want margins between internal histograms. > > So I'm doing something like: > > f = new TF1("f", "x", 0, 1); > c = new TCanvas; > c->Divide(1,2,0,0); > c->cd(1); > gPad->SetBorderStyle(0); > gPad->SetBorderSize(0); > c->cd(2); > gPad->SetBorderStyle(0); > gPad->SetBorderSize(0); > c->cd(1); > gPad->SetBottomMargin(0); > f->Draw(); > > In this case I got in the canvas truncated '0' label. > in y axis. Moreover in the postscript file this > label will not appear at all. > So my question is: > How I can avoid this problem, or may be there is > another way of drawing such matrix of histograms? > > Thanks in advance and best regards, Michael. > > PS. I' using root version 3.10/02 > > > -- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET