<div dir="ltr">Hi Alan,<div>I have been looking at this issue and there is clearly something wrong. The only color that seems to be completely transparent when set for a raster fill plot is transparent black (0,0,0,0). That does mean there is a work-around fix for your specific test case: just change line 63 from</div><div>reds(:30,3) = 0.<br></div><div>to</div><div>reds(:30,:) = 0.<br></div><div><br></div><div>We will figure out the overall issue as soon as possible.</div><div> -dave</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 9, 2014 at 4:26 PM, Brammer, Alan P <span dir="ltr"><<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Sorry -- That first link was the wrong paste: <br>
</p>
<p><a href="http://www.atmos.albany.edu/student/abrammer/transtest/transtest_RasterFill_FillOpac.png" target="_blank">http://www.atmos.albany.edu/student/abrammer/transtest/transtest_RasterFill_FillOpac.png</a><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Alan. <br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> <a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a> <<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>> on behalf of Alan Brammer <<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>><br>
<b>Sent:</b> Tuesday, September 9, 2014 5:34 PM<br>
<b>To:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> [ncl-talk] RasterFill transparency</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Ran into an issue today that probably requires some developer input. </div>
<div><br>
</div>
<div>Objective 2 shaded contour plots, with variable transparencies to view 2 variables on top of each other. </div>
<div><br>
</div>
<div>This works as desired in CellFill but is not aesthetically pleasing due to the blockiness. </div>
<div>AreaFill also works but has some weird vertical lines that pop up in random places (and takes an age to plot).</div>
<div>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. </div>
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>plots: </div>
<div>
<div><br>
RasterFill w/ cnFillOpacityF semi transparent everywhere --></div>
<div><a href="http://www.atmos.albany.edu/student/abrammer/transtest/transtest_CellFill.png" target="_blank">http://www.atmos.albany.edu/student/abrammer/transtest/transtest_CellFill.png</a></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Cell-fill What I want but without the blockiness --> <a href="http://www.atmos.albany.edu/student/abrammer/transtest/transtest_CellFill.png" target="_blank">http://www.atmos.albany.edu/student/abrammer/transtest/transtest_CellFill.png</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>RasterFill w/ RGBA same resources as cell-fill but fails completely. --> </div>
<div><a href="http://www.atmos.albany.edu/student/abrammer/transtest/transtest_RasterFill_rgba.png" target="_blank">http://www.atmos.albany.edu/student/abrammer/transtest/transtest_RasterFill_rgba.png</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Code, data and plots here:</div>
<div><a href="http://www.atmos.albany.edu/student/abrammer/transtest/" target="_blank">http://www.atmos.albany.edu/student/abrammer/transtest/</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Trialed using both 6.2.1 and 6.2.0 </div>
<div>on <b> </b>x86_64-redhat-linux with gcc version 4.1.2</div>
<div><br>
</div>
<div>Thanks, </div><span class="HOEnZb"><font color="#888888">
<div>Alan</div>
</font></span></div>
</div>
</div>
</div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>