Re: [ROOT] Potrait/Landscape

From: Axel Naumann (axel-naumann@gmx.de)
Date: Thu Jun 12 2003 - 11:40:50 MEST


Hi,

would it be possible to add a method somewhere to allow setting landscape
/ portrait for all canvases? That way one could call
TCanvas::SaveAs("....ps") without re-adjusting the width/height. Something
using TStyle, or a static TCanvas member or so would be nice.

Is there a way to specify the _default_ size of a canvas (i.e. not in the
c'tor, but a generic setting for all new canvases)?

Cheers, Axel.

>
> Hi Michael,
>
> I guess it is because the aspect ratio of your canvas is "landscape" (ie:
> width larger than height). Change it to portrait (ie: height larger than
> width) and you will get a "portrait" PS file when you save it.
>
>  Cheers, Olivier
>
> On Thu, 12 Jun 2003, Michael Groys wrote:
>
>> Dear all,
>> Very simple question:
>> When I save canvas as .ps file I always get it in landscape.
>> How can I switch to Portrait mode.
>> Thanks in advance,
>>             Michael
>>
>>
>
> --
> 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
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET