<div dir="ltr"><br>OK, your script fragment looks good However, based upon the times at which wkBackgroundOpacity was implemented versus the dates of NCL release, it looks like this resource would have been first made broadly available in 6.2.0. 6.2.1 is the most recent NCL version. Is it possible for you to upgrade? <br><div class="gmail_extra"><br></div><div class="gmail_extra">And given that, I'm not sure what would have changed between 5.x.x and 6.1.x that made transparent backgrounds unattainable (how did you specify that?)<br><br></div><div class="gmail_extra">Rick<br><br></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Dec 3, 2014 at 3:16 PM, jbuzan <span dir="ltr"><<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I’m using NCL6.1.0.<div><br></div><div>I call the wkstype as a environment variable:</div><div>wkstype = getenv("WKSTYPE”)</div><div>wkstype@wkBackgroundOpacityF = 0.0<br>wks = gsn_open_wks(wkstype, outputfile)<br><br></div><div>warning:wkBackgroundOpacityF is not a resource in the given object<br><br></div><div>-Jonathan</div><div><div class="h5"><div><br></div><div><br></div><div><br><div><div>On Dec 3, 2014, at 4:13 PM, Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr"><div><div><div><div><div><div>Hi Jonathan,<br><br></div>Just to be clear, wk* resources are passed into the workstation at the time it is created:<br><br></div> wkstype = "pdf"<br></div> wkstype@wkBackgroundOpacityF = 0.0<br></div> wks = gsn_open_wks(wkstype, "myPlotName")<br><br></div>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.<br><br></div>Rick<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 3, 2014 at 1:00 PM, jbuzan <span dir="ltr"><<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello NCL-talk,<br>
<br>
I am attempting to make the background on my plots transparent. However, I believe I am using the wrong resource.<br>
<br>
res@cnMissingValFillPattern = “transparent”<br>
wkstype@wkBackgroundOpacityF = 0.0<br>
<br>
both give me warnings and do not make the background transparent.<br>
<br>
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).<br>
<br>
-Jonathan<br>
<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>
</blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div></div>