[ROOT] Re: your mail

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jun 14 2004 - 23:11:50 MEST


see tutorial zones.C

Rene Brun

On Mon, 14 Jun 2004, Datao Gong wrote:

> Hi,
> I just want a very plain style to plot more than one plots on a canvas.
> Since the plots are same type, i do not need margin between plots. So i
> use this code:
> {
>    gROOT->SetStyle("Plain");
>    c1->Divide(2,4);
> 
>    c1_1->SetTopMargin(0);
>    c1_1->SetLeftMargin(0);
>    c1_1->SetRightMargin(0);
>    c1_1->SetBottomMargin(0);
>    c1_1->SetFrameLineWidth(0);
>    c1_1->SetFrameBorderSize(0);
>    c1->cd(1);
>    h1->Draw(); //draw plot1
> 
>    //draw plot 2
>    ....
> 
> 
> }
> But there is still margin between two plots. What is the options i have to 
> set?
> 
> Thanks
> 
> 
> Gong Datao
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET