generate gif image in greyscale

Mallikarjun arjunjt at CAOS.IISC.ERNET.IN
Sat Mar 12 11:45:41 EST 2005


Hello,

 You can print it in this way;

 After the display command

 'enable print xx'
 'print xx'
 'disable print'
 '!gxps -i xx -o filename.ps
 '!rm xx'
 '!convert filename.ps filename.gif'
 '!rm filename.ps'

 if you have gxgif you can directly use instead of gxps.


Hope it works

Bye


On Fri, 11 Mar 2005, Luis Fernando Montana R. wrote:

>
> Hello all
>
> I need generate some gif images in greyscale from reanalysis. This is
> part of my script:
>
> ...
>
> 'set gxout shaded'
>
> 'set display grey'
>
> 'd ulwrf'
>
> 'run c:/Pcgrads/lib/cbarn.gs'
>
> 'close 1'
>
> ...
>
> 'printim 1990wuvpr10m_'2*n-1'.gif gif x700 y590'
>
> ...
>
> I can view the plon in greyscale in my screen, but the file generated is
> in color :(
>
> There are any way to do this in greyscale too?
>
> Thanks in advance,
>
>
>
> Luis Fernando Montana Roa
> Posgrado de Meteorologia
> Universidad Nacional de Colombia
> Bogota - Colombia - South America
>
>
>

--
Mallikarjuna.K
J.R.F
Centre for Atmospheric and Oceanic Sciences
Indian Institute of Science
Bangalore - 560 012



More information about the gradsusr mailing list