<div dir="ltr"><div>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.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 29, 2015 at 10:34 PM, Nursalleh K Chang <span dir="ltr"><<a href="mailto:nursalleh@met.gov.my" target="_blank">nursalleh@met.gov.my</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
I managed to plot cone graphic for Typhoon track. How can i control the<br>
transparency of filled color for the cone graphic?<br>
<br>
Sample script as below :<br>
<br>
'reinit'<br>
'open jma_ssm.ctl'<br>
'set display color white'<br>
'clear'<br>
'set grads off'<br>
'set gxout contour'<br>
'set mpdset hires'<br>
'set z 1'<br>
'set t 1'<br>
'd PRMSLmsl/100'<br>
'basemap L 74 1 H'<br>
'basemap O 45 1 H'<br>
'printim indera.png'<br>
'clear'<br>
'set t 1'<br>
'set clevs 10000000'<br>
'set ccolor 0'<br>
'd PRMSLmsl/100'<br>
'set map 1'<br>
'draw map'<br>
'cone prmslmsl/100 -e 45 -minlat 4.5 -maxlat 7.5 -minlon 92 -maxlon 115 -<br>
tunit day -tint 2 -maxtime 6 -fcol 2'<br>
<br>
'printim ucone.png -b indera.png -t 2'<br>
<br>
'quit'<br>
<br>
I also attach sample output. There is also problem with my basemap but i<br>
will try to resolve it later. Any suggestion is highly appreciated.<br>
<br>
Thanks.<br>
<br>
Warmest Regards,<br>
Nursalleh K Chang@Nursalleh Bin Kasim<br>
Assistant Director<br>
Research & Development Section<br>
Malaysian Meteorological Department<br>
Jalan Sultan 46667, Petaling Jaya<br>
Selangor, Malaysia<br>
<br>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br></div>
</div>