printim in greyscale

hersala hersala at GMAIL.COM
Fri Dec 4 18:30:12 EST 2009


Hi, Aviva:
You should create your own gray scale value, something like this:

***********************************************************************
* Gray scale definition
'set rgb 18 50 50 50'
'set rgb 20 65 65 65'
'set rgb 22 75 75 75'
'set rgb 24 90 90 90'
'set rgb 25 100 100 100'
'set rgb 26 115 115 115'
'set rgb 28 130 130 130'
'set rgb 30 145 145 145'
'set rgb 32 160 160 160'
'set rgb 34 175 175 175'
'set rgb 35 190 190 190'
'set rgb 36 205 205 205'
'set rgb 38 220 220 220'
'set rgb 40 235 235 235'
'set rgb 42 245 245 245'
'set rgb 44 250 250 250'


'set lat -90 -70'
'set lon 155 257'

'set gxout shaded'
'set clevs 0 250 500 750 1000 1250 1500 1750 2000 2250 2500 3000 3250 3500
3750 4000 4250'
'set ccols 0 18 20 22 24 25 26 28 30 32 34 35 36 38 40 42 44'
*****************************************************************************************

If you use  a script script like myfile.gs you must use ' before each
command (run myfile.gs)
If you use a script like myfile.txt (exec myfile.txt)

I hope this help you.
Regards,
Hernán



2009/12/4 Aviva Braun <braun at meteo.psu.edu>

> Hey Grads users,
> I've got my code displaying my plots in a greyscale by using the command:
> "set display greyscale." But as the grads index says: "This command DOES NOT
> affect hardcopy output." How can I get it to?
> Thanks!
> Aviva Braun
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20091204/4eb57553/attachment.html 


More information about the gradsusr mailing list