Re: Font size

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 31 2011 - 15:11:06 MDT

Moti,

There's not enough information here. What exactly do you mean by "heading"? Do you have a graphic that you can send me and point out the font that you are trying to change?

The "txFontHeightF" resource only applies when you are adding or drawing text strings with gsn_add_text or gsn_text or gsn_text_ndc. Is that what you're using here?

There are lots of "xxYYYFontHeightF" resources that apply to different aspects of the plot. For example, "cnLineLabelFontHeightF" applies to contour line labels, and "tiMainFontHeightF" applies to the main title.

--Mary

On Aug 31, 2011, at 2:20 PM, Mittal, Moti wrote:

> Hi!
>
> I want to learn how to change font size (heading or legend etc) in ncl.
> I used the following lines in the script but it does not work.
>
> cnres_text = True ; text mods desired
> cnres_text@txFontHeightF = 0.001 ; change text size
> cnres_text@txJust = "CenterLeft" ; text justification
>
> I will appreciate your advice.
> Thank you.
>
> Moti L Mittal
> Professor, Department of Environment and Occupational Health
> College of Public Health
> University of South Florida
> 13201 Bruce B. Downs Blvd., MDC56
> Tampa, Fl 33612-3805
>
> Tel: (813) 974-9571
> Fax: (813) 974-4986
> Email: mmittal@health.usf.edu
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 31 15:11:12 2011

This archive was generated by hypermail 2.1.8 : Wed Sep 07 2011 - 10:58:58 MDT