printing grey scale with color overlay

M.Mahakur mmahakur at TROPMET.RES.IN
Thu Nov 16 02:32:41 EST 2006


Respected Heiner,

Thanks! It wroked and display is better (more smoothed) than my earlier
grey+color display. But, I can dim the  grey  shaded portion?

Regards,

Mahakur

Heiner Körnich wrote:

> Hi,
>
> you have to use always "set display color" and then define your own
> color scale which has only grey colors, eg.
> 'set rgb 20 15 15 15 '
>
> Then use the commands 'set clevs lev1 lev2 ...' and 'set ccols col1 col2
> ...' in order to produce a grey shaded plot. These grey tones are also
> grey in a colored PNG file.
>
> Greetings,
> Heiner
>
> M.Mahakur wrote:
>
>> Respected Users,
>>
>> I can display the  grey scale shaded plots overlapped with color (for
>> non-zero) values using following few lines. As I wants to display all
>> the plots having observations and white out the UNDEF (i.e. no satellite
>> pass).  But, when 'display' the gmf (stored using print) using the
>> 'gxtran' or PNG file from 'printim' displays all with colors (no grey)
>> i.e. it  does save in the files what it was in the display. How can I
>> over come this?
>>
>> -----------------------------------
>> 'set gxout shaded'
>> 'set display greyscale'
>> 'd rr'
>> *** DISPLAY IN GREY SHADES
>> 'set display color'
>> 'set clevs  0.1 0.5 2  3  4  5  7  9  12 15 20 25 30 35'
>> 'set ccols  3   17  18 19 20 21 22 23 24 25 26 27 28 29 30 '
>> 'd maskout(rr,rr-1.0e-33)'
>> **** DISPLAY NON-ZERO VALUES IN RGB COLORS
>> ---------
>>
>> Regards,
>>
>> Mahakur
>>
>
> --
> Heiner Körnich
> Dept. of Meteorology            Tel:  +46 8 164333
> Stockholms University, SE-106 91 Stockholm, Sweden
> Email: heiner at misu.su.se   www.misu.su.se/~heiner/
>



More information about the gradsusr mailing list