[gradsusr] Transparency control plot

Jeff Duda jeffduda319 at gmail.com
Thu Apr 30 12:47:53 EDT 2015


Based on your image it looks like you are using the graphics library before
Cairo came in version 2.1 and above. I would suggest upgrading to version
2.1 or above so that you can use the upgraded set rgb command which allows
you to set transparency on colors.

Jeff Duda

On Wed, Apr 29, 2015 at 10:34 PM, Nursalleh K Chang <nursalleh at met.gov.my>
wrote:

> Hi there,
>
> I managed to plot cone graphic for Typhoon track. How can i control the
> transparency of filled color for the cone graphic?
>
> Sample script as below :
>
> 'reinit'
> 'open jma_ssm.ctl'
> 'set display color white'
> 'clear'
> 'set grads off'
> 'set gxout contour'
> 'set mpdset hires'
> 'set z 1'
> 'set t 1'
> 'd PRMSLmsl/100'
> 'basemap L 74 1 H'
> 'basemap O 45 1 H'
> 'printim indera.png'
> 'clear'
> 'set t 1'
> 'set clevs 10000000'
> 'set ccolor 0'
> 'd PRMSLmsl/100'
> 'set map 1'
> 'draw map'
> 'cone prmslmsl/100 -e 45 -minlat 4.5 -maxlat 7.5 -minlon 92 -maxlon 115 -
> tunit day -tint 2 -maxtime 6 -fcol 2'
>
> 'printim ucone.png -b  indera.png -t 2'
>
> 'quit'
>
> I also attach sample output. There is also problem with my basemap but i
> will try to resolve it later. Any suggestion is highly appreciated.
>
> Thanks.
>
> Warmest Regards,
> Nursalleh K Chang at Nursalleh Bin Kasim
> Assistant Director
> Research & Development Section
> Malaysian Meteorological Department
> Jalan Sultan 46667, Petaling Jaya
> Selangor, Malaysia
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150430/c6d37687/attachment.html 


More information about the gradsusr mailing list