[ncl-talk] RasterFill transparency
Alan Brammer
abrammer at albany.edu
Tue Sep 9 15:34:45 MDT 2014
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/bc13e2c8/attachment.html
More information about the ncl-talk
mailing list