[ncl-talk] Contour fill transparency not working with RasterFill mode

Guido Cioni guidocioni at gmail.com
Fri Sep 29 08:55:02 MDT 2017


Hi,
I'm trying to plot filled contour of wind speed overlaid on a map. In order to mask small values of winds I've both masked the original data and set the first color of the color palette as transparent, i.e. 

cmap_r=read_colormap_file("wind_17lev")
cmap_r(0,3)=0.0
ResC at cnFillPalette= cmap_r

However, when drawing with ResC at cnFillMode = "RasterFill", this causes the Missing Values to be coloured with white instead that being transparent, as you can see in the attached picture. 


Going back to old discussion this seems to be an old problem that was fixed in 6.2.0. Am I wrong? 

I'm attaching the script that I'm using, although it is not 100% clean.
Cheers 


Guido Cioni
http://guidocioni.altervista <http://guidocioni.altervista/>.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170929/3062cb05/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: raster_fill.png
Type: image/png
Size: 1231481 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170929/3062cb05/attachment-0001.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170929/3062cb05/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot_jetstream.ncl
Type: application/octet-stream
Size: 4164 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170929/3062cb05/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170929/3062cb05/attachment-0005.html>


More information about the ncl-talk mailing list