Hello ROOTers,
I would like to change unit which is shown on an axis of a TGraph
without changing unit of input data.
I created a TGraph with data (wavelength VS QE), for example
# wavelength[m] QE 3.0e-7 0.207 3.2e-7 0.220 3.4e-7 0.239 3.6e-7 0.235
If I draw the graph, X axis range will be [3.0e-7, 3.6e-7]. But I would like to change the unit from [m] to [nm]. If possible, new axis range will be [300, 360].
Is there any simple solution ?
I would like to keep the internal data of TGraph in unit of [m].
Sincerely,
OKUMURA, Akira oxon_at_icrr.u-tokyo.ac.jp
Institute for Cosmic Ray Research, University of Tokyo
5-1-5 Kashiwanoha Kashiwa Chiba 277-8582 Japan
Phone/Fax : +81 4-7136-3153
Skype : okumura.akira
Received on Thu Jun 08 2006 - 12:04:51 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET