Re: Tickmark Labels

From: Adam Phillips (asphilli AT XXXXXX)
Date: Thu Sep 11 2003 - 08:55:43 MDT

Hi Kerri,

I think text function codes can do what you want. Below is a short example I
wrote detailing how to change the X-axis bottom (XB) labels.

pres = True
pres@tmXBMode = "Explicit"
pres@tmXBValues = (/"-10","0","10","20"/)
pres@tmXBLabels = (/"-10~S~o~N~","0~S~o~N~","10~S~o~N~","20~S~o~N~"/)

This is assuming that your default function code (set in your .hluresfile) is a
~, and not a : .

For more on text function codes, see:

Hope that helps.

>Delivered-To: asphilli AT
>Delivered-To: ncl-talk AT
>From: "Kerri Price" <kerri AT>
>To: <ncl-talk AT>
>Date: Thu, 11 Sep 2003 09:49:50 -0500
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>Importance: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
>X-AntiAbuse: This header was added to track abuse, please include it with any
abuse report
>X-AntiAbuse: Primary Hostname -
>X-AntiAbuse: Original Domain -
>X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
>X-AntiAbuse: Sender Address Domain -
>Subject: Tickmark Labels
>X-BeenThere: ncl-talk AT
>X-Mailman-Version: 2.0.13
>List-Help: <mailto:ncl-talk-request AT>
>List-Post: <mailto:ncl-talk AT>
>List-Subscribe: <>,
<mailto:ncl-talk-request AT>
>List-Id: NCAR Command Language User Group <>
>List-Unsubscribe: <>,
<mailto:ncl-talk-request AT>
>X-Spam-Status: No, hits=-5.5 required=5.0 tests=BAYES_01,MSGID_GOOD_EXCHANGE
>X-Spam-Checker-Version: SpamAssassin 2.55 (
>I'm am creating an xyplot where one of the axes is temperature. I would
>like the tickmark labels to have the degree symbol in them. Does anyone
>know how to do this?
>ncl-talk mailing list
>ncl-talk AT

Adam Phillips email: asphilli AT
Climate and Global Dynamics Division tel: (303) 497-1726
National Center for Atmospheric Research fax: (303) 497-1333
P.O. Box 3000
Boulder, CO 80307-3000

ncl-talk mailing list
ncl-talk AT

This archive was generated by hypermail 2b29 : Thu Sep 11 2003 - 19:43:50 MDT