RE: axis scale

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Mon, 22 Nov 2010 09:44:14 +0100


You can create axis using a function to define the binning. But that's only "graphics".

http://root.cern.ch/root/html/TGaxis.html#TGaxis:TGaxis%3  

From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Eunsin Lee Sent: Friday, November 19, 2010 7:27 PM
To: Omar Andrés Zapata Mesa
Cc: roottalk_at_root.cern.ch
Subject: Re: [ROOT] axis scale  

Hi Omar,  

Thanks for your reply.

My question is how to rescale axis with sin (cos or tan) function, not log.  

Eunsin


Eunsin Lee, Ph.D

Postdoctoral Research Associate

PET Center, Department of Radiology

University of Pennsylvania School of Medicine

eunsin_at_mail.med.upenn.edu

(215) 349-5751 (office)

(979) 574-7235 (cell)


     

On Nov 19, 2010, at 1:24 PM, Omar Andrés Zapata Mesa wrote:

Hi Eunsin.

yes, TCanvas Inherited from TPad and TPad has the methods SetLogx() , SetLogy() and SetLogz()

 then you can use it before call TGraph.

best regards.

2010/11/19 Eunsin Lee <eunsin_at_mail.med.upenn.edu>

Dear Rooters,

How can I rescale x-axis with sin function? Is there anything like SetLogx?

Thanks,
Eunsin



Eunsin Lee, Ph.D
Postdoctoral Research Associate
PET Center, Department of Radiology
University of Pennsylvania School of Medicine eunsin_at_mail.med.upenn.edu
(215) 349-5751 (office)
(979) 574-7235 (cell)

-- 
Omar Andres Zapata Mesa

Head Developer Phenomenology of Fundamental Interactions Group (Gfif)

http://gfif.udea.edu.co <http://gfif.udea.edu.co/> 

Division of computer science Gfif Developers (Gfif Dev)

http://gfifdev.udea.edu.co <http://gfifdev.udea.edu.co/> 

Systems Engineering Student

Universidad de Antioquia At Medellin - Colombia

Usuario Linux  #490962

 

 
Received on Mon Nov 22 2010 - 09:44:22 CET

This archive was generated by hypermail 2.2.0 : Mon Nov 22 2010 - 11:50:01 CET