R: TPad::Range(), and pointing down y axes.

From: Giorgio De Nunzio <giorgio.denunzio_at_aliceposta.it>
Date: Tue, 27 Sep 2005 21:04:09 +0200


(I already sent the following message some days ago but appearently there were problems, because I have not seen it distributed on the list. In case you did, please excuse this double)

Merci Olivier!
Unluckily that code just throws away an axis and draws another, which is not what I need.
I'll contiinue and do mirror transformations myself (just 1-y, nothing too difficult :-)
It would be nice to have a method that inverts coordinate axes directions, so that - for example - plotting a dot at (0, 0) places it at the top left corner of a TPad.

Thanks again!
Ciao
Giorgio

-----Messaggio originale-----

Da: Olivier Couet [mailto:Olivier.Couet_at_cern.ch] Inviato: giovedi 22 settembre 2005 11.08 A: giorgio.denunzio_at_unile.it; roottalk_at_pcroot.cern.ch Oggetto: RE: [ROOT] TPad::Range(), and pointing down y axes.

Hi,
For the time being this is not possible in a simple way. It is on the program of work.
The only trick you can do now is the one suggested here: http://couet.home.cern.ch/couet/root/ht16.html Cheers,
Olivier

--
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 Giorgio De Nunzio Sent: Thursday, September 22, 2005 9:06 AM To: roottalk_at_pcroot.cern.ch Subject: [ROOT] TPad::Range(), and pointing down y axes. Hi all! TPad::Range(...) protests when I try an give it: ((x1 >= x2) || (y1 >= y2)), i.e., for example, the vertical axis cannot point downwards. ...
Received on Tue Sep 27 2005 - 21:00:51 MEST

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