RE: SetXtitle

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Mon, 24 Oct 2005 13:45:31 +0200


Can you send a little running example please ? OC

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910

E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22
7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22
7670300

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch
[mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of nasim
Sent: Monday, October 24, 2005 1:19 PM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] SetXtitle


Dear Rooters,

When I am trying to use SetXTitle for TGraphErrors:

TGraphErrors *gr1= new TGraphErrors(1,x,y,e,0);  gr1->SetXTitle("Br");
gr1->SetMarkerStyle(29);  gr1->SetMarkerSize(1.5);
gr1->SetLineColor(4);  gr1->SetMarkerColor(4);  gr1->SetMinimum(0);
gr1->SetMaximum(1);

it gives this error:
filename       line:size busy function type and name
*** Interpreter error recovered ***

How can I fix this problem.

Thanks very much,
Nasim
Received on Mon Oct 24 2005 - 13:45:37 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET