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:
http://ngwww.ucar.edu/ngdoc/ng//ref/hlu/FunctionCodes.html

Hope that helps.
Adam

>Delivered-To: asphilli@ucar.edu
>Delivered-To: ncl-talk@ucar.edu
>From: "Kerri Price" <kerri@digitalartefacts.com>
>To: <ncl-talk@ucar.edu>
>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 - host04.ipowerweb.com
>X-AntiAbuse: Original Domain - ucar.edu
>X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
>X-AntiAbuse: Sender Address Domain - digitalartefacts.com
>Subject: Tickmark Labels
>X-BeenThere: ncl-talk@ucar.edu
>X-Mailman-Version: 2.0.13
>List-Help: <mailto:ncl-talk-request@ucar.edu?subject=help>
>List-Post: <mailto:ncl-talk@ucar.edu>
>List-Subscribe: <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>,
<mailto:ncl-talk-request@ucar.edu?subject=subscribe>
>List-Id: NCAR Command Language User Group <ncl-talk.ucar.edu>
>List-Unsubscribe: <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>,
<mailto:ncl-talk-request@ucar.edu?subject=unsubscribe>
>X-Spam-Status: No, hits=-5.5 required=5.0 tests=BAYES_01,MSGID_GOOD_EXCHANGE
version=2.55
>X-Spam-Level:
>X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
>
>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?
>
>Thanks,
>Kerri
>
>_______________________________________________
>ncl-talk mailing list
>ncl-talk@ucar.edu
>http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-------------------------------------------------------------
Adam Phillips email: asphilli@ucar.edu
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 http://www.cgd.ucar.edu/~asphilli

_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



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