[ncl-talk] RasterFill plot using RGBA colour map

Rick Brownrigg brownrig at ucar.edu
Mon Mar 9 10:28:30 MDT 2015


Hi Kay,

I'm not totally sure I understand what you are after, but does RGBa example
#18 address your issue?

http://ncl.ucar.edu/Applications/rgbacolor.shtml

It tested it with RasterFill and it behaves as expected with regard to the
opacities of the labelbar.

Hope that helps..
Rick


On Sun, Mar 8, 2015 at 8:24 PM, Kay Shelton <kay.shelton at gmail.com> wrote:

> Hello NCLers,
>
> (I am running 6.2.0 and 6.2.1)
>
> Should I be able to make a contour plot using RasterFill and setting
> cnFillPalette to a colour map with alpha values <1?
>
> I am trying to do this because I need to use RasterFill as I have high
> resolution global data that takes an age to plot as an AreaFill contour
> plot, but I want the opacity level reflected in the colour bar. The
> alternative is to set cnFillOpacityF, however then the plot colours do not
> match the label bar very well.
>
> My current result when using RasterFill and the colour map with edited
> alpha values is hideously coloured plots, but with required opacity level.
> For plots that are not panelled the label bar matches the plot, but is in
> hideous colours, for panelled plots the plots are hideous but the label bar
> is correct.
>
> Is what I am trying to achieve even possible?
>
> Thanks,
> Kay
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150309/0398ec92/attachment.html 


More information about the ncl-talk mailing list