Re: How to plot a southern hemisphere TC symbol on a time-longitude plot. [SEC=UNCLASSIFIED]

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Aug 24 2012 - 08:26:38 MDT

You can actually start using these fonts right away with any version of NCL.

I've attached "font35.fc" and "font37.fc", which contain the ASCII representations of these font tables with the new fonts added.

To generate the binary versions of these files to use with NCL, type:

   fontc font35.fc font35
   fontc font37.fc font37

The "fontc" program is one that comes with NCL, so you should already have it.
Font tables 135 and 137 don't need to be generated. They get their information
from these two files.

Make copies of your old font35 and font37 files, just in case:

cp $NCARG_ROOT/lib/ncarg/fontcaps/font35 $NCARG_ROOT/lib/ncarg/fontcaps/font35.bkup
cp $NCARG_ROOT/lib/ncarg/fontcaps/font37 $NCARG_ROOT/lib/ncarg/fontcaps/font37.bkup

Then, move the files font35 and font37 to $NCARG_ROOT/lib/ncarg/fontcaps.

To test that it's working, run the attached FontTables.ncl script. This will cause four X11 windows to pop
up, which shows font tables 35, 37, 135, 137. You should see the new S.H. symbol in all of these.

--Mary

On Aug 23, 2012, at 4:11 PM, Mary Haley wrote:

> Joan and others,
>
> We've added southern hemisphere versions of the hurricane and tropical cyclone symbols. They will be in the 6.1.0 release, hopefully mid-September.
>
> See letters "k" and "m" in font tables 35 and 135:
>
> http://www.ncl.ucar.edu/Document/Graphics/Images/font35.png
> http://www.ncl.ucar.edu/Document/Graphics/Images/font135.png
>
> and letters "p" and "s" in font tables 37 and 137.
>
> http://www.ncl.ucar.edu/Document/Graphics/Images/font37.png
> http://www.ncl.ucar.edu/Document/Graphics/Images/font137.png
>
> If somebody needs access to these symbols before V6.1.0 is released, then send me an email offline, and tell me what kind of system you have (uname -a).
> All you will need are four new "fontcap" files to put in $NCARG_ROOT/lib/ncarg/fontcaps.
>
> --Mary
>
>
>
>
> On Aug 21, 2012, at 1:44 PM, Mary Haley wrote:
>
>> Hi Joan,
>>
>> The NCL team has been discussing this offline a bit. We have a NH TC symbol, but no SH TC symbol, which seems like an oversight.
>>
>> We are looking into creating a new function, or modifying NhlNewMarker such that you could rotate any marker in our font tables. This would allow you
>> to take the existing NH marker, and flip it 180 degrees to turn it into an NH marker.
>>
>> And yes, you can use NhlNewMarker to plot a symbol on any plot you want. Use gsn_add_polymarker to attach the marker to the plot, using coordinates that are in the same dataspace as the plot you're attaching it to.
>>
>> See the attached script, which creates a "blank" plot whose axes both go from 0 to 1. I used positioning coordinates between 0 and 1 to position the three markers.
>>
>> --Mary
>> <hsym.ncl>
>> On Aug 20, 2012, at 7:36 PM, Joan Fernon wrote:
>>
>>>
>>> Does anyone know how I could plot a southern hemisphere TC symbol on a time-longitude plot?
>>> Can I use NhlNewMarker to plot a symbol on a time-longitude plot?
>>> Thanks Joan
>>> _______________________________________________
>>> 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
>
> _______________________________________________
> 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 Fri Aug 24 08:26:51 2012

This archive was generated by hypermail 2.1.8 : Tue Aug 28 2012 - 08:53:45 MDT