[ncl-talk] Transparency

jbuzan jbuzan at purdue.edu
Wed Dec 3 15:16:56 MST 2014


I’m using NCL6.1.0.

I call the wkstype as a environment variable:
wkstype = getenv("WKSTYPE”)
wkstype at wkBackgroundOpacityF = 0.0
wks = gsn_open_wks(wkstype, outputfile)

warning:wkBackgroundOpacityF is not a resource in the given object

-Jonathan



On Dec 3, 2014, at 4:13 PM, Rick Brownrigg <brownrig at ucar.edu> wrote:

> Hi Jonathan,
> 
> Just to be clear, wk* resources are passed into the workstation at the time it is created:
> 
>     wkstype = "pdf"
>     wkstype at wkBackgroundOpacityF = 0.0
>     wks = gsn_open_wks(wkstype, "myPlotName")
> 
> Is that what you've tried?  I also forget when this resource was introduced, but its a relatively new feature, so the latest NCL version may be needed.
> 
> Rick
> 
> 
> On Wed, Dec 3, 2014 at 1:00 PM, jbuzan <jbuzan at purdue.edu> wrote:
> Hello NCL-talk,
> 
> I am attempting to make the background on my plots transparent.  However, I believe I am using the wrong resource.
> 
> res at cnMissingValFillPattern = “transparent”
> wkstype at wkBackgroundOpacityF = 0.0
> 
> both give me warnings and do not make the background transparent.
> 
> I used to be able to have backgrounds transparent in NCL 5.  NCL 6 does not have this feature (or at least it is not default).
> 
> -Jonathan
> 
> _______________________________________________
> 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/20141203/53c11fc6/attachment.html 


More information about the ncl-talk mailing list