<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 15 (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;}
/* 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.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        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;}
p.gmail-m1617197279217162312msolistparagraph, li.gmail-m1617197279217162312msolistparagraph, div.gmail-m1617197279217162312msolistparagraph
        {mso-style-name:gmail-m_1617197279217162312msolistparagraph;
        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;}
p.gmail-m1617197279217162312m2852992729275848863msolistparagraph, li.gmail-m1617197279217162312m2852992729275848863msolistparagraph, div.gmail-m1617197279217162312m2852992729275848863msolistparagraph
        {mso-style-name:gmail-m_1617197279217162312m2852992729275848863msolistparagraph;
        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.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.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:&quot;Calibri&quot;,sans-serif">Thanks so much Mary! I did receive an email from Rick Brownrigg about an option for font size (excerpted below). I also forgot to note that I also have specified the “convert”
 and “trim” flags but still have problems (line excerpted below). So, should I remove all the line copied below and just use the convert and trim flags? I don’t think that will do the trick because I think I start with just convert and trim and then found the
 other options online to minimize the white space.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Thanks,</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Rebecca<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">303-312-6867<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Convert and Trim:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp; system(&quot;convert -density 188 -trim &quot; &#43; plot_name &#43; &quot;.png&quot; &#43; &quot; &quot; &#43; plot_name &#43; &quot;.png&quot;)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Font Size:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">As you may know, there are 72 points per inch, so an 8pt font would be 8/72 = .1111 inches.&nbsp; However, font size in NCL is measured in NDC space, which is a unit square area mapped to the longest dimension of
 your plot. So you'd need to know the size in inches of your plot to find the right factor. If for example you are plotting to PDF output on an 8&quot;x11&quot; page, then an inch in NDC space is 1/11 = .0909 ndc/in.&nbsp; So I get a font size of .1111 x .0909 about .01 ndc<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Mary Haley [mailto:haley@ucar.edu]
<br>
<b>Sent:</b> Thursday, August 3, 2017 11:15 AM<br>
<b>To:</b> Matichuk, Rebecca &lt;Matichuk.Rebecca@epa.gov&gt;<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Subject:</b> Getting specific point size text on NCL figures<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Rebecca,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Unfortunately there's no easy way to get a specific point size of text in NCL. This has been on our &quot;to do&quot; list for awhile, but it is not a trivial feature to implement.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Since I don't have experience with this, I'm CC ncl-talk to see if anybody out there has gotten creative with getting a specific point size of text on their NCL figures. I know some people have simply not drawn any text using NCL, and instead
 use some post-processing program like Adobe Illustrator to add their own text at a specific font.&nbsp; You could even use PowerPoint to do something like this.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">As for the PNG to PDF, I would recommend using &quot;convert&quot; with the &quot;-trim&quot; option to post process the PNG or PDF images and trim off the white space.&nbsp; Please see our FAQ question on this:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.ncl.ucar.edu/FAQ/#o_formats_003">http://www.ncl.ucar.edu/FAQ/#o_formats_003</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">--Mary<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Thu, Aug 3, 2017 at 9:24 AM, Matichuk, Rebecca &lt;<a href="mailto:Matichuk.Rebecca@epa.gov" target="_blank">Matichuk.Rebecca@epa.gov</a>&gt; wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Hi Mary,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">You have helped me with NCL issues in the past so I thought I’d reach out to you again. I’m having issues with asking/sending
 questions through <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>. I’ve received auto-generated emails stating that I cannot contribute to this list and “bounce” responses. Could you help me figure out why because I’m needing some
 help generating some figures. I’ve outlined my questions below in case you can help me in the meantime.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Thanks so much!</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Rebecca</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
<p class="gmail-m1617197279217162312msolistparagraph"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">1.</span><span style="font-size:7.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">I’m generating figures for an academic journal and one of the requirements is for the font size to be 8 points. What is the equivalent to 8 points in NCL?</span><o:p></o:p></p>
<p class="gmail-m1617197279217162312msolistparagraph"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">2.</span><span style="font-size:7.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">I’m also having problems converting my original png files to pdfs, where I had a lot of white space around the single and panel figures. I’ve been working with the following resources, but
 it’s been a challenge. Any suggestions to make the conversion easier?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;wks_type = &quot;pdf&quot;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; wks_type@wkPaperSize = &quot;landscape&quot;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; wks1 = gsn_open_wks(wks_type, plot_name)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; gsn_define_colormap(wks1, &quot;gui_default&quot;)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; plot = new(nplot,graphic)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; plot_overlay = new(nplot,graphic)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; res&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;= True&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; plot mods desired</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; res@gsnDraw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = False</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; res@gsnFrame&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = False</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; res@gsnMaximize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = True</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; res@gsnPaperOrientation&nbsp;&nbsp;&nbsp; = &quot;landscape&quot;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:.25in">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; res@gsnPaperMargin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0.07</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; resB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = True</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; resB@gsnPanelFigureStringsFontHeightF = 0.010</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; resB@gsnPanelFigureStrings = site_name</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; resB@gsnPanelYF = (/0.83,0.83,-1,-1/)&nbsp;&nbsp;&nbsp;&nbsp; ;tr,br,tl,bl</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; resB@gsnPanelXF = (/0.06,0.55,0.06,0.55/)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; resB@amJust&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &quot;TopLeft&quot;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; res@vpWidthF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 14.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; plot size (width)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; res@vpHeightF&nbsp;&nbsp;&nbsp;&nbsp; = 10.74&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; plot size (height)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">;&nbsp;&nbsp;&nbsp; res@vpXF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0.02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; location of plot(0)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; res@vpYF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0.88&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; location of plot(0)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Rebecca</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><a href="tel:(303)%20312-6867" target="_blank">303-312-6867</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Mary Haley [mailto:<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>]
<br>
<b>Sent:</b> Wednesday, February 22, 2017 10:09 AM<br>
<b>To:</b> Matichuk, Rebecca &lt;<a href="mailto:Matichuk.Rebecca@epa.gov" target="_blank">Matichuk.Rebecca@epa.gov</a>&gt;<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: FW: Legend to draw on top of grid lines</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">In order to post a question to ncl-talk, you must first subscribe to it.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Please see this page to subscribe:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Once you subscribe, you should receive an automated email right away that you need to respond to in order for the subscription to go through. If you don't receive this automated
 email, then please check your spam box. &nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Once you respond to the automated email, you should be able to send your question again to
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">In order to get the leg_10 plot to work in a panel, I would use the powerful &quot;overlay&quot; call to make one plot a part of the other.&nbsp; That way, when you draw the base plot, you will
 get both plots.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">See the (hurriedly) created leg_10.ncl example that now does a panel.&nbsp; I didn't have time to come up with &quot;nice&quot; looking dummy Y curves, so I just changed a few values to get something
 out quickly.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">You may also want to look at the &quot;simple_legend&quot; function which is mentioned on the same page.&nbsp; It should be much easier to create a legend with this function.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--Mary<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Tue, Feb 21, 2017 at 12:41 PM, Matichuk, Rebecca &lt;<a href="mailto:Matichuk.Rebecca@epa.gov" target="_blank">Matichuk.Rebecca@epa.gov</a>&gt; wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<br>
<br>
I received the email below stating that my email to the NCL help emailing list has been rejected. I'm not sure why, but would you be able to help me?<br>
<br>
Thanks,<br>
Rebecca<br>
<a href="tel:303-312-6867" target="_blank">303-312-6867</a><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a> [mailto:<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>] On Behalf Of
<a href="mailto:ncl-talk-owner@ucar.edu" target="_blank">ncl-talk-owner@ucar.edu</a><br>
Sent: Tuesday, February 21, 2017 6:45 AM<br>
To: Matichuk, Rebecca &lt;<a href="mailto:Matichuk.Rebecca@epa.gov" target="_blank">Matichuk.Rebecca@epa.gov</a>&gt;<br>
Subject: Legend to draw on top of grid lines<br>
<br>
You are not allowed to post to this mailing list, and your message has been automatically rejected.&nbsp; If you think that your messages are being rejected in error, contact the mailing list owner at
<a href="mailto:ncl-talk-owner@ucar.edu" target="_blank">ncl-talk-owner@ucar.edu</a>.<br>
<br>
=====================================<br>
<br>
Hi,<br>
<br>
I'm trying to generate a panel plot where the legends are not transparent and on top of grid lines. I found this example at the link included below. However, it is for a single figure and I cannot get it to work for the panel plotting. By trying to following
 the NCL example, my legends just disappear. What should I alter in this example from the NCL website to get it to work for a panel plot that:<br>
1.&nbsp; &nbsp; &nbsp; NCL version: 6.2.1<br>
2.&nbsp; &nbsp; &nbsp; 2x3 panel<br>
3.&nbsp; &nbsp; &nbsp; Uses plot(iplot) = gsn_csm_xy(wks1,xplot,yplot,res)<br>
4.&nbsp; &nbsp; &nbsp; Uses gsn_panel(wks1,plot,(/row_plot,col_plot/),resB)<br>
5.&nbsp; &nbsp; &nbsp; GNU/Linux system<br>
<br>
<a href="https://www.ncl.ucar.edu/Applications/Scripts/leg_10.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/leg_10.ncl</a><br>
<br>
Thank you,<br>
Rebecca<br>
<br>
<br>
---------- Forwarded message ----------<br>
From:&nbsp;&quot;Matichuk, Rebecca&quot; &lt;<a href="mailto:Matichuk.Rebecca@epa.gov" target="_blank">Matichuk.Rebecca@epa.gov</a>&gt;<br>
To:&nbsp;&quot;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&gt;<br>
Cc:&nbsp;<br>
Date:&nbsp;Tue, 21 Feb 2017 13:45:18 &#43;0000<br>
Subject:&nbsp;Legend to draw on top of grid lines<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’m trying to generate a panel plot where the legends are not transparent and on top of grid lines. I found this example at the link included below. However, it is for a single
 figure and I cannot get it to work for the panel plotting. By trying to following the NCL example, my legends just disappear. What should I alter in this example from the NCL website to get it to work for a panel plot that:<o:p></o:p></p>
<p class="gmail-m1617197279217162312m2852992729275848863msolistparagraph">1.<span style="font-size:7.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>NCL version: 6.2.1<o:p></o:p></p>
<p class="gmail-m1617197279217162312m2852992729275848863msolistparagraph">2.<span style="font-size:7.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>2x3 panel<o:p></o:p></p>
<p class="gmail-m1617197279217162312m2852992729275848863msolistparagraph">3.<span style="font-size:7.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>Uses plot(iplot) = gsn_csm_xy(wks1,xplot,yplot,res)<o:p></o:p></p>
<p class="gmail-m1617197279217162312m2852992729275848863msolistparagraph">4.<span style="font-size:7.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>Uses gsn_panel(wks1,plot,(/row_plot,col_plot/),resB)<o:p></o:p></p>
<p class="gmail-m1617197279217162312m2852992729275848863msolistparagraph">5.<span style="font-size:7.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>GNU/Linux system<o:p></o:p></p>
<p class="gmail-m1617197279217162312m2852992729275848863msolistparagraph">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://www.ncl.ucar.edu/Applications/Scripts/leg_10.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/leg_10.ncl</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thank you,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Rebecca<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>