<div dir="ltr"><div class="gmail_default" style="font-size:small">Barry,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This is why I tell people to use the gsn_csm_xxxx functions for plotting.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The wrf_xxxx functions don&#39;t allow much customization of the graphics, because they are really meant to be &quot;black-box&quot; style plots.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You could modify WRFUserARW.ncl yourself, to add whatever flexibility you need for the font heights. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For example, this is the line that is retrieving whatever FontHeightF value you are setting:</div><div class="gmail_default">







<p class="gmail-p1" style="font-size:small"><font face="monospace, monospace"><span class="gmail-s1">  font_height = get_res_value_keep(opts,</span><span class="gmail-s2">&quot;FontHeightF&quot;</span><span class="gmail-s1">,0.01)</span></font></p><p class="gmail-p1" style="font-size:small"><span class="gmail-s1">If you then search beyond that line for &quot;font_height&quot; you will see it used here:</span></p><p class="gmail-p1"><font face="monospace, monospace">  txt0 = create &quot;MainPlotTitle&quot; textItemClass wks<br>    &quot;txString&quot;      : opts@MainTitle<br>    &quot;txFontHeightF&quot; : font_height*1.5<br>  end create</font></p><p class="gmail-p1">and here:</p><p class="gmail-p1"><font face="monospace, monospace">  if( opts@InitTime ) then<br>    InitTime = &quot;Init: &quot; + model_start_time<br>    txt1 = create &quot;InitTime&quot; textItemClass wks<br>      &quot;txString&quot;      : InitTime<br>      &quot;txFontHeightF&quot; : font_height<br>    end create</font></p><p class="gmail-p1">and here:</p><p class="gmail-p1"><font face="monospace, monospace">    txt2 = create &quot;ValidTime&quot; textItemClass wks<br>      &quot;txString&quot;      : ValidTime<br>      &quot;txFontHeightF&quot; : font_height<br>    end create</font></p><p class="gmail-p1"><br></p><p class="gmail-p1">To change this code to behave the way you want, first make a copy of this file and call is whatever you want:</p><p class="gmail-p1"><font face="monospace, monospace">cp $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl myWRFUserARW.ncl</font></p><p class="gmail-p1">Bring up the &quot;myWRFUserARW.ncl&quot; file in a UNIX editor.</p><p class="gmail-p1">In this file, create new resources (calling them whatever you like) and use them to replace the singular &quot;FontHeightF&quot;. </p><p class="gmail-p1">For example, replace this line:<br></p><p class="gmail-p1"><font face="monospace, monospace">  font_height = get_res_value_keep(opts,&quot;FontHeightF&quot;,0.01)</font></p><p class="gmail-p1">with these three lines:</p><p class="gmail-p1"><font face="monospace, monospace">  main_font_height       = get_res_value_keep(opts,&quot;MainFontHeightF&quot;,0.015)<br>  init_time_font_height  = get_res_value_keep(opts,&quot;InitTimeFontHeightF&quot;,0.01)<br>  valid_time_font_height = get_res_value_keep(opts,&quot;ValidTimeFontHeightF&quot;,0.01)</font></p><p class="gmail-p1"><font face="arial, helvetica, sans-serif">and then replace the &quot;font_height&quot; variable in the three sections of code with the appropriate &quot;main_font_height&quot;, &quot;init_time_font_height&quot; and &quot;valid_time_font_height&quot; variables. You will then be able to set your own font heights for each one:</font></p></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default"><span style="font-family:monospace,monospace">res@MainFontHeightF      = 0.02</span></div><div class="gmail_default"><span style="font-family:monospace,monospace">res@ValidTimeFontHeightF = 0.01</span></div><div class="gmail_default"><span style="font-family:monospace,monospace">res@InitTimeFontHeightF  = 0.008</span></div></blockquote><div class="gmail_default"><p class="gmail-p1"></p><p class="gmail-p1">Now, to run your script, you will need to edit it and load your own copy of &quot;myWRFUserARW.ncl&quot;:</p><p class="gmail-p1"><font face="monospace, monospace">load &quot;./myWRFUserARW.ncl&quot;</font></p><p class="gmail-p1"><font face="arial, helvetica, sans-serif">--Mary</font></p><p class="gmail-p1"><font face="monospace, monospace"><br></font></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 7, 2016 at 10:34 PM, Barry Lynn <span dir="ltr">&lt;<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi:<div><br></div><div>I found it hard to find an exact point where FontheightF was being set in WRFUserARW.ncl.</div><div><br></div><div>Instead, I did what &quot;WRF-NCL&quot; did for the Title. I modified it this way in both the InitTime and ValidTime locations.</div><div><br></div><div><div>  if( opts@InitTime ) then</div><div>    InitTime = &quot;Init: &quot; + model_start_time</div><div>    txt1 = create &quot;InitTime&quot; textItemClass wks</div><div>      &quot;txString&quot;      : InitTime</div><div>      &quot;<b>txFontHeightF&quot; : font_height*1.5</b></div></div><div><br></div><div>This morning, I do see this line:</div><div><br></div><div>font_height = get_res_value_keep(opts,&quot;<wbr>FontHeightF&quot;,0.01).<br></div><div><br></div><div>Perhaps, I needed to modify this line, but then I would have enlarged the Title as well.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Barry</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 8, 2016 at 2:26 AM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.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 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">This is a good question. I had to dig around in WRFUserARW.ncl to look for the answer.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think setting &quot;FontHeightF&quot; should do it. Try a value like 0.01, and then increase or decrease it by small amounts as necessary. This apparently is an unadvertised resource and I&#39;m not positive it will work.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you find that you are wanting to customize your WRF plots quite a bit, then you may want to consider using gsn_csm_xxx functions to do the plotting instead of wrf_xxxx.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The wrf_xxxx functions are really meant to be used &quot;as-is&quot; to quickly produce plots that can fit on an 8-1/2&quot; x 11&quot; paper.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">To see some examples of plotting WRF data with gsn_csm_xxx functions, see:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/wrfgsn.shtml" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/wrfgsn.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-814185277821121372h5">On Wed, Dec 7, 2016 at 5:29 AM, Barry Lynn <span dir="ltr">&lt;<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>&gt;</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="m_-814185277821121372h5"><div dir="ltr">Hi:<div><br></div><div>I have tried figuring out how to do this by accessing the most obvious pages, but I can&#39;t see how to change the height of &quot;FieldTitle,&quot; and &quot;UnitLabel.&quot;  </div><div><br></div><div>I get a resources not found for the bolded lines.</div><div><br></div><div><div>  opts_ic_cg@FieldTitle           = time_var</div><div>  <b>opts_ic_cg@gsnStringFontHeight<wbr>F = 0.025</b></div><div>  opts_ic_cg@UnitLabel            = &quot;10 minute ETLN Lightning Rate&quot;</div><div>  <b>opts_ic_cg@UnitLabelHeightF           = 0.015</b></div><div>  opts_ic_cg@cnLevelSelectionMod<wbr>e = &quot;ExplicitLevels&quot;</div><div>  opts_ic_cg@cnFillOn             = True</div><div><br></div><div><br></div>-- <br><div class="m_-814185277821121372m_-2029155328924154002m_-7241962133778704028gmail_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%203108" value="+19144323108" target="_blank">914 432 3108</a><br></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="m_-814185277821121372gmail_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%203108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
</div></div></blockquote></div><br></div>