<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Monaco;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.gmail-p1, li.gmail-p1, div.gmail-p1
{mso-style-name:gmail-p1;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.gmail-s1
{mso-style-name:gmail-s1;}
span.gmail-apple-converted-space
{mso-style-name:gmail-apple-converted-space;}
span.gmail-s2
{mso-style-name:gmail-s2;}
span.gmail-s3
{mso-style-name:gmail-s3;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks, Bill. This is really helpful.
<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></a></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Bill Ladwig [mailto:ladwig@ucar.edu]
<br>
<b>Sent:</b> Thursday, May 3, 2018 2:36 PM<br>
<b>To:</b> Fearon, Dr. Matthew, Contractor, Code 7533<br>
<b>Cc:</b> pyngl-talk@ucar.edu<br>
<b>Subject:</b> Re: [pyngl-talk] PyNGL skewT default background color<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Matt,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Unfortunately there isn't a resource for this, but if you're willing to modify your copy of PyNGL, you can manually change the color pretty easily. In your site-packages directory for your Python distribution, you should see a PyNGL directory.
Under that, there is Ngl.py. Around line 6054, in the skewt_bkg function, you'll see this:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="gmail-p1" style="margin:0in;margin-bottom:.0001pt;font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal">
<span class="gmail-s1"><span style="font-size:8.5pt;font-family:"Monaco","serif";color:#0433FF">if</span></span><span style="font-size:8.5pt;font-family:"Monaco","serif""> (localOpts.sktDrawColAreaFill):<o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0in;margin-bottom:.0001pt;font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal">
<span class="gmail-apple-converted-space"><span style="font-size:8.5pt;font-family:"Monaco","serif"">
</span></span><span style="font-size:8.5pt;font-family:"Monaco","serif"">color1 =
<span class="gmail-s2"><span style="color:#D49238">"PaleGreen2"</span></span><span class="gmail-apple-converted-space">
</span><span class="gmail-s3"><span style="color:#CBCBCB"># "LightGreen"</span></span><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0in;margin-bottom:.0001pt;font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal">
<span class="gmail-apple-converted-space"><span style="font-size:8.5pt;font-family:"Monaco","serif"">
</span></span><span style="font-size:8.5pt;font-family:"Monaco","serif"">color2 =
<span class="gmail-s2"><span style="color:#D49238">"Background"</span></span><span class="gmail-apple-converted-space">
</span><span class="gmail-s3"><span style="color:#CBCBCB"># "Azure"</span></span><o:p></o:p></span></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Change "PaleGreen2" for color1 to a color of your liking.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Hope this helps,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Bill <o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, May 3, 2018 at 12:08 PM, Fearon, Dr. Matthew, Contractor, Code 7533 via pyngl-talk <<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">Dear PyNGL users:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">I’m using the Ngl resources for skewT plotting. I was wondering if anyone has experimented with changing the default green sktColoredBands to another
color. This option turn the bands off/on, but is there a resource or a trick for changing the default green banded background color?
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">Thank you,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">Matt</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
pyngl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/pyngl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/pyngl-talk</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>