[gradsusr] Grads 2.1 not producing transparent images
Mike Manning
michael at bsch.com.au
Thu Sep 13 22:01:28 EDT 2018
Hi all,
I decided to try OpenGrads 2.1 the other day on my linux system and it’s not producing transparent images. If I run this exact same code with OpenGrads 2.0 it produces a transparent image fine. Any colour it replaces with the -t option only turns it black. Has anyone else had this issue?
'c'
'reinit'
'set warn off'
'open gfs.12z.ctl'
'set xlab off'
'set ylab off'
'set frame off'
'set vpage 0 11 0 8.5'
'set parea 0 11 0 8.5'
'set mproj scaled'
'set mpdraw off'
'set csmooth on'
'set grads off'
'set t 1'
'set lon 146 158'
'set lat -32 -22'
'set rgb 50 245 201 255'
'set rgb 51 234 144 255'
'set rgb 52 209 93 236'
'set rgb 53 175 62 202'
'set rgb 54 137 7 168'
'set rgb 55 5 83 206'
'set rgb 70 8 74 179'
'set rgb 56 30 110 235'
'set rgb 57 60 150 245'
'set rgb 58 150 210 250'
'set rgb 59 180 235 255'
'set rgb 60 255 255 255'
'set rgb 61 255 255 254'
'set rgb 62 0 0 1'
'set clevs -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0'
'set ccols 50 51 52 53 54 70 55 56 57 58 59 2'
'define variable = lftxsfc'
'set gxout shaded'
'set csmooth on'
'set cint 1'
'set cmin -10'
'set cmax 0'
'd variable'
'set gxout contour'
'set ccolor 1'
'set clab on'
'set cint 1'
'set cmin -10'
'set cmax 0'
'set clopts 1 -1 0.07'
'd variable'
'printim lftx.png png -t 2 x750 y750'
'quit'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180914/e794573c/attachment.html>
More information about the gradsusr
mailing list