<div dir="ltr">Hi Mary:<div><br></div><div>No, you understood my question.</div><div><br></div><div>I purposedly set the title for individual plots to " ", and the left and right strings as shown.</div><div><br></div><div>Thank you for pointing out that I actually had the command for displaying a general title within my code. I was using 6.3.</div><div><br></div><div>Barry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 14, 2017 at 5:55 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Barry,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks for sharing this!</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'm not sure what you mean about not being able to generate a title for all plots.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you are talking about for the paneled plots, then you can set the txString resource (old way) or the gsnPanelMainString resource (new way, in V6.4.0). I see that you have both of these lines commented out though:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><div class="gmail_default" style="font-size:small">; resP@gsnPanelMainString = "A plot with a common label bar" </div><div class="gmail_default" style="font-size:small"> ; use this for NCL V6.3.0 and earlier </div><div class="gmail_default" style="font-size:small">; resP@txString = "A plot with a common label bar" </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you are talking about titles for individual plots, then you want to use "tiMainString", which I see you have set to " ":</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default">
<p class="m_-8574696234688834914gmail-p1" style="font-size:small"><span class="m_-8574696234688834914gmail-s1"> res1@</span><span class="m_-8574696234688834914gmail-s2">tiMainString</span><span class="m_-8574696234688834914gmail-s1"> = </span><span class="m_-8574696234688834914gmail-s3">" "</span></p><p class="m_-8574696234688834914gmail-p1" style="font-size:small">Am I misunderstanding your question?<br></p><p class="m_-8574696234688834914gmail-p1" style="font-size:small">By the way, in the next release of NCL (6.5.0) we will have an "elseif" statement. You will be able to change this code:</p><p class="m_-8574696234688834914gmail-p1" style="font-size:small"><br></p><p class="m_-8574696234688834914gmail-p1"><font face="monospace, monospace"> if (i_file.eq.0)then<br> filename = dirWRF(n)+"/"+wrfname2<br> end if<br> if (i_file.eq.1)then<br> filename = dirWRF(n)+"/"+wrfname3<br> end if<br> if (i_file.eq.2)then<br> filename = dirWRF(n)+"/"+wrfname4<br> end if</font></p><p class="m_-8574696234688834914gmail-p1">to:</p><p class="m_-8574696234688834914gmail-p1"><span style="font-family:monospace,monospace"> if (i_file.eq.0) then</span><br style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"> filename = dirWRF(n)+"/"+wrfname2</span><br style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"> elseif (i_file.eq.1) </span><br style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"> filename = dirWRF(n)+"/"+wrfname3</span><br style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"> elseif (i_file.eq.2)</span><br style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"> filename = dirWRF(n)+"/"+wrfname4</span><br style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"> end if</span><br></p><p class="m_-8574696234688834914gmail-p1"><br></p><p class="m_-8574696234688834914gmail-p1" style="font-size:small"><span class="m_-8574696234688834914gmail-s3">--Mary</span></p><p class="m_-8574696234688834914gmail-p1" style="font-size:small"><span class="m_-8574696234688834914gmail-s3"><br></span></p></div><div class="gmail_default" style="font-size:small"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jun 13, 2017 at 11:04 PM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">On a side note, I am still not sure how to create a general title for all plots.</div><div class="m_-8574696234688834914HOEnZb"><div class="m_-8574696234688834914h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 14, 2017 at 8:01 AM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Good Morning (or so):<div><br></div><div>I have attached a program I wrote recently.</div><div><br></div><div>It reads wrf output files from a defined directory, but plots wrfout files with different dimension sizes.</div><div><br></div><div>It also reads an array of observations, interpolates them, and then maps them as well.</div><div><br></div><div>It plots accumulated values and probabilities. </div><div><br></div><div>It makes a png, so it thickens various lines (state lines, perimeter).</div><div><br></div><div>It doesn't plot latitude/longitude lines within the maps.</div><div><br></div><div>It plots as many latitude/longitude labels as "it can."</div><div><br></div><div>I needed advice on the way to getting to this point, so I think it appropriate to share it.</div><div><br></div><div>You can write to me if you have questions on how to use it.</div><div><br></div><div>Barry<br clear="all"><div><br></div>-- <br><div class="m_-8574696234688834914m_-361573310490804199m_-8636335828272031931gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-8574696234688834914m_-361573310490804199gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
</div></div><br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US 914 432 3108<br></div></div></div>
</div>