[ROOT] Re: your mail

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Tue Mar 09 2004 - 17:33:57 MET


Hi,

 When I execute your macro I get an error for the line:

 c1->SetMinimum(1e-6);

 I think you should not set the minimum on c1 but on inputSpec.

 TGraph *inputSpec = new TGraph(in, x, y1);
 inputSpec->SetMinimum(1e-6);

 Having done that I get the attached picture
 (I created a small led1.data file in order to execute your macro)

 Cheers,       Olivier

On Tue, 9 Mar 2004, Marieke Navin wrote:

> Hello,
> 
> Would anybody mind having a look at my code and advising me as to 
> why the axes aren't labelled? Also why another axis on the 
> right hand side has not been drawn?
> Many thanks in advance
> Marieke
> 

-- 
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



c1.gif



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