<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;">Is that the wkstype?&nbsp;<div><br></div><div>&nbsp;i.e.&nbsp;<br><div>setenv WKSTYPE = oldpdf<br><div>wkstype = getenv("WKSTYPE”)<br><br></div><div>-Jonathan</div><div><br></div><div><br></div><div><div><div>On Dec 3, 2014, at 6:07 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>Ah...in that case, until your admins upgrade the cluster, you might try using "oldpdf" as the workstation type (assuming you are not using other advanced color features --- i.e., sticking with the traditional workstation colormap, etc).<br><br></div>Hope that helps...<br>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 3, 2014 at 4:02 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"><div style="word-wrap:break-word">Hi Rick,<div><br></div><div>I never specified anything about the background in my scripts.&nbsp; However, when the cluster switched to NCL6, I lost the transparency for the backgrounds of pdf figures. &nbsp;</div><div>I’ll ask my cluster about NCL6.2.1. &nbsp;</div><div><br></div><div>-Jonathan</div><div><div class="h5"><div><br></div><div><br></div><div><br><div><div>On Dec 3, 2014, at 5:32 PM, Rick Brownrigg &lt;<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr"><br>OK, your script fragment looks good&nbsp;&nbsp; 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.&nbsp;&nbsp; 6.2.1 is the most recent NCL version.&nbsp;&nbsp; Is it possible for you to upgrade?&nbsp; <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">&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"><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><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" target="_blank">brownrig@ucar.edu</a>&gt; 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>&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></div></div></blockquote></div><br></div></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></body></html>