Re: Zero contour line label

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Tue Nov 17 2009 - 14:21:46 MST

Hi Mateus,
I cannot answer why the cnLineLabelFormat resource isn't working for
you, but one quick way to get around this is to set
cnExplicitLineLabelsOn = True and then manually set cnLineLabelStrings
appropriately.
http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelStrings
http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnExplicitLineLabelsOn
Adam

Mateus Teixeira wrote:
> Dear NCL users,
>
> When I plot press vs time graphics that have a zero contour line, its
> label has a minus signal before 0s. I have tried to change this by setting
>
> cnLineLabelFormat = "@^sg"
>
> but I'm getting values like 2.778x10^-17 in the place of the zeros.
>
> How can avoid the minus signal in 0 labels?
>
> Best regards,
>
>
> --
> Mateus da Silva Teixeira
> Meteorologista
> Instituto de Pesquisas Meteorológicas - IPMet
> Universidade Estadual Paulista - UNESP
> Av. Luis Edmundo Carrijo Coube, 14-01 - Cx. Postal 281 - CEP 17033-360
> Bauru - SP - Brasil
> Fone: +55 14 3103-6030 / fax: 3203-3649
>
> Registered Linux User #466740 (http://counter.li.org/)
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
__________________________________________________
Adam Phillips 
asphilli@ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
Climate and Global Dynamics Division         fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 17 14:22:21 2009

This archive was generated by hypermail 2.1.8 : Tue Nov 17 2009 - 17:27:42 MST