[ncl-talk] RasterFill transparency
Brammer, Alan P
abrammer at albany.edu
Tue Sep 9 16:26:51 MDT 2014
?Sorry -- That first link was the wrong paste:
http://www.atmos.albany.edu/student/abrammer/transtest/transtest_RasterFill_FillOpac.png?
Alan.
________________________________
From: ncl-talk-bounces at ucar.edu <ncl-talk-bounces at ucar.edu> on behalf of Alan Brammer <abrammer at albany.edu>
Sent: Tuesday, September 9, 2014 5:34 PM
To: ncl-talk at ucar.edu
Subject: [ncl-talk] RasterFill transparency
Ran into an issue today that probably requires some developer input.
Objective 2 shaded contour plots, with variable transparencies to view 2 variables on top of each other.
This works as desired in CellFill but is not aesthetically pleasing due to the blockiness.
AreaFill also works but has some weird vertical lines that pop up in random places (and takes an age to plot).
RasterFill does not seem to support RGBA with cnFillPalette or cnFillColors a halfway workaround works with cnFillOpacityF but following on from the thread the other day this only works with all or none of the colors.
So main question should/can RasterFill support the A in RGBA colortables. It seems the functionality is there just maybe a break in the chain somewhere.
plots:
RasterFill w/ cnFillOpacityF semi transparent everywhere -->
http://www.atmos.albany.edu/student/abrammer/transtest/transtest_CellFill.png
Cell-fill What I want but without the blockiness --> http://www.atmos.albany.edu/student/abrammer/transtest/transtest_CellFill.png
RasterFill w/ RGBA same resources as cell-fill but fails completely. -->
http://www.atmos.albany.edu/student/abrammer/transtest/transtest_RasterFill_rgba.png
Code, data and plots here:
http://www.atmos.albany.edu/student/abrammer/transtest/
Trialed using both 6.2.1 and 6.2.0
on x86_64-redhat-linux with gcc version 4.1.2
Thanks,
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140909/e27e3c51/attachment.html
More information about the ncl-talk
mailing list