<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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><br></div><div><br></div><div><br><div><div>On Dec 3, 2014, at 4:13 PM, Rick Brownrigg &lt;<a href="mailto:brownrig@ucar.edu">brownrig@ucar.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><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>&nbsp;&nbsp;&nbsp; wkstype = "pdf"<br></div>&nbsp;&nbsp;&nbsp; wkstype@wkBackgroundOpacityF = 0.0<br></div>&nbsp;&nbsp;&nbsp; wks = gsn_open_wks(wkstype, "myPlotName")<br><br></div>Is that what you've tried?&nbsp; 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">&lt;<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>&gt;</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.&nbsp; 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.&nbsp; 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></body></html>