Re: How to label as decimal latitude and longitude

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Tue, 23 Jan 2007 11:02:20 -0700

Hi Yongxin,

There surprisingly does not seem to be an option in NCL that would allow
you to swicth from degrees/minutes->degrees in decimals...

The only way I would know how to do this is to explicitly set the Y and
X axis labels yourself by doing something similar to this:

(array to be plotted = farr)
tmYLMode = "Explicit"
tmYLValues = fspan(min(farr&lat),max(farr&lat),10)
tmYLLabels = tmYLLabels

or

tmYLValues = (/19.0,19.05,19.10,19.15/)

Good luck,
Adam

Yongxin Zhang wrote:
> Dear NCL users,
>
> I am making plots based on WRF output and I would like to label
> the major ticks along the X and Y axis as decimal latitude and longitude
> (such as 19.05 N, 99.03 W) instead of degrees and minutes. Does anyone
> know how to do that?
>
> Thanks,
> Yongxin
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
--------------------------------------------------------------
Adam Phillips			             asphilli_at_ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD/CAS                               fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000	  http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jan 23 2007 - 11:02:20 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 05 2007 - 07:15:45 MST