Re: [ROOT] gr2->Draw();

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 06 2002 - 08:36:37 MET


Hi Ilia,

Ilia Ravinovich wrote:
> 
> Hi,
> 
> 1. How to draw graph without perpendicular lines at the edges:
> 
>    gr2 = new TGraphErrors(n1,x1,y1,ex1,ey1);
>    gr2->Draw();

  Use option "z"
  see doc at
:                                                                            
http://root.cern.ch/root/htmldoc/TGraphErrors.html#TGraphErrors:Paint

> 
> 2. How to avoid the drawing of the bin size on the filled histogram (not
> graph)?
      gStyle->SetErrorX(0);

Rene Brun

> 
> Thanks,
> 
> Ilia
> 
> ************************************************************************
> *                                                                      *
> *   Ilia Ravinovich                                                    *
> *   Department of Particle Physics             PPE Division            *
> *   Weizmann Institute of Science              Bld 892, 1D-015         *
> *   Rehovot 76100                              CERN, 1211 Geneva       *
> *   ISRAEL                                     Switzerland             *
> *                                                                      *
> *   PHONE : 972 8 9343187                      41 22 7676437           *
> *   FAX   : 972 8 9344166                      41 22 7677910           *
> *   E-mail: Ilia.Ravinovich@weizmann.ac.il     Ilia.Ravinovich@cern.ch *
> *                                                                      *
> ************************************************************************



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET