Re: Fill Value color transparent

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Dec 06 2013 - 12:30:16 MST

Hi Jonathan,

I don't think we ever got back to you on this.

I think there's a bug with filling in missing value areas with transparency. Dave Brown will have to confirm this, and state whether there will be a fix in V6.2.0.

--Mary

On Nov 19, 2013, at 11:12 AM, jbuzan <jrbuzan@gmail.com> wrote:

> Sorry if this is a repeat. My server keeps stating that the email was 'bounced'.
>
> The images are not true overlays. They are two separate pdf images; I just copy pasting them into my presentation.
> The ones completed in NCL5.1.2 automatically made all _FillValues transparent, where both NCL6.0.0 and 6.1.2 do not. I do not have access to NCL5.1.2 anymore, as the IT services have removed NCL5.1.2.
>
> My script is modularized to accept a variety of input files, which is too much information for NCL-Talk. What I can do is send a version that has just the plotting routines. I have added cnMissingValFillPattern= "Transparent", however, the results were the same with the background/_FillValue being white, not transparent.
>
> -Jonathan
>
> <plot_resources.ncl>
> <JB_Colortest2.rgb>
>
>
>
> On Nov 19, 2013, at 12:00 PM, Mary Haley wrote:
>
>> Hi Jonthan,
>>
>> Without seeing your script, I'm not sure how you are doing the various overlays. By "NCL5" and "NCL6", I assume you mean NCL V5.1.2 and NCLV 6.1.2?
>>
>> You can certainly make the fill value areas transparent, but you have to be using a cnFillMode of "AreaFill" (the default) or "CellFill", b/c in V6.1.2 and earlier, "RasterFill" doesn't support transparency.
>>
>> See example 10 at:
>>
>> http://www.ncl.ucar.edu/Applications/mask.shtml#ex10
>>
>> In the next release of NCL, transparency will be supported with RasterFill.
>>
>> If you want me to look into the issue between NCL 5.x and 6.x, then a script and data would help.
>>
>> http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP
>>
>> Thanks,
>>
>> --Mary
>>
>>
>> On Nov 19, 2013, at 7:17 AM, jbuzan <jbuzan@purdue.edu> wrote:
>>
>>> Hello NCL–Talk,
>>>
>>> I am attempting to make spatial maps with the fill_value being transparent. I think something switched between NCL5 to NCL6, because I have not changed my plotting scripts. The goal is to overlay images close to each other for a presentation, however the white background in the NCL6 plots causes the data to be obscured. Is there a way to turn off the fillvalue/white background?
>>>
>>> Thanks,
>>>
>>> -Jonathan
>>>
>>>
>>> NCL5 plot
>>> <PastedGraphic-1.pdf>
>>> NCL6 plot
>>> <PastedGraphic-2.pdf>
>>> Example overlay obscuring data NCL6 plot.
>>> <Screen Shot 2013-11-19 at 9.15.01 AM.png>
>>> Example overlay not obscuring data, NCL5 plot
>>> <Screen Shot 2013-11-19 at 9.15.39 AM.png>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Dec 6 12:30:26 2013

This archive was generated by hypermail 2.1.8 : Fri Dec 13 2013 - 11:39:30 MST