[ncl-talk] Changing title font size of panel plot

Barry Lynn barry.h.lynn at gmail.com
Tue Oct 30 20:07:33 MDT 2018


Hi:

Just to double check, are you using WRF_NCL resources at all?  If so, you
need to go to WRFUserARW.ncl and find the same variable you use to set the
font size within and change there.

Barry

On Tue, Oct 30, 2018 at 8:59 PM Toni Klemm <toni-klemm at tamu.edu> wrote:

> Hello!
>
> I am creating a panel plot and need to change the title font size because
> it is too long (see plot attached).
>
> However, changing the value of *tiMainFontHeightF* in the script doesn’t
> change the font height. Is the paneling preventing me from changing the
> font size, or do I need to add another command to enable it? I checked
> “Title Resources” (
> https://www.ncl.ucar.edu/Document/Graphics/Resources/ti.shtml#tiMainFontHeightF)
> and “PlotManager” (
> https://www.ncl.ucar.edu/Document/HLUs/Classes/PlotManager.shtml) which
> sounded like under some circumstances the font size might not be
> changeable. But I didn’t really understand what it meant or what to do.
>
> I also included the part of my script about the paneling of the individual
> plots (4) below. I appreciate any help!
>
> Thank you,
> Toni
>
>
>
> ;***********************************************
> ; panel plots together
> ;***********************************************
>
> print("5 - Create plot matrix")
>
>   pres                 = True
>   pres at gsnMaximize     = False
>   pres at gsnPanelRowSpec = True
>   pres at gsnPanelCenter  = False
>   pres at gsnFrame        = False
>   pres at gsnPanelXWhiteSpacePercent = 10 ; horizontal white space between
> columns in percent
>   pres at gsnPanelYWhiteSpacePercent = 5 ; vertical white space between rows
> in percent
>   pres at gsnPanelMainString = RCP_title[h](0) + " | " + fs_title[i](0) + "
> | " + variable_title[k](0) + " | " + group_title[l](0) + " | Change from
> 1981-2010 Avg."
>   pres at tiMainFontHeightF  = 0.035
>   pres at tiMainFont         = 21
> ;  pres at gsnPanelXF  = (/-1,0.6,0.6,0.6/)
>
>   gsn_panel(wks,plot,(/4,1/),pres) ; EP, NP, CP, and SP horizontally next
> to each other
>
>   frame(wks)
>
>
>
>
> *Toni Klemm, Ph.D.*Postdoctoral Research Associate
> Department of Ecosystem Science and Management
> College of Agriculture and Life Sciences
> Texas A&M University, College Station, TX
> Contributor to the Early Career Climate Forum <http://www.eccforum.org>
> www.toni-klemm.de | @toniklemm <http://twitter.com/toniklemm>
>
>
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>


-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181031/65314395/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rcp_45_fs_VTYPE_G_decadal_model_comparison_change.png
Type: image/png
Size: 58178 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181031/65314395/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rcp_45_fs_VTYPE_G_decadal_model_comparison_change.png
Type: image/png
Size: 58178 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181031/65314395/attachment-0001.png>


More information about the ncl-talk mailing list