detecting mode

Davide Sacchetti davide.sacchetti at ARPAL.ORG
Thu Aug 3 09:47:41 EDT 2006


use:
'g gxinfo'
if result is "Page Size = 11 by 8.5" your setting is portrait, otherwise
is landscape .. .
bye bye
Davide




On Thu, 2006-08-03 at 10:34 -0300, Mateus Teixeira wrote:
> Dear GrADS users,
>
> I'm trying to make my script as general as possible and I stopped in the
> mode in which GrADS is opened: landscape or portrait.
> In other words, I would like to detect the mode in which GrADS was
> opened, through my script.
> Is there a way to do this?
>
> Thanks
>
> --
> Mateus da Silva Teixeira
> Doutorando em Meteorologia - CPTEC/INPE
> e-mail: mtex2k3 at yahoo.com.br, mateus at cptec.inpe.br
> site: www.geocities.com/mtex2k3
>
>
>
> _______________________________________________________
> Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!
> http://br.mobile.yahoo.com/mailalertas/
--
Sacchetti Davide
ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535
mail: davide.sacchetti at arpal.org   web: www.meteoliguria.it



More information about the gradsusr mailing list