Re: On Scalar field plot

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Sun Sep 25 2011 - 09:59:29 MDT

For graphics, the order of your data [0=>360] or [-180=>180]
is immaterial. See
    http://www.ncl.ucar.edu/Applications/climo.shtml#ex3

Just set
   res@mpCenterLonF = 180 ; Centers the plot at 180

On 9/25/11 8:58 AM, Cheung wrote:
> Dear all:
> I have a one D data with lat and lon for each node. The lon varies from
> -180 to 180, so it can only plot from 180W(the leftest side) to 180E(the
> rightest side). Now what I want is to have the leftest side of my plot
> to be 0E and the rightest side be 0W with 180E(W) in the middle. So I
> have all the lon value which are less than 0 to plus 360 so as to get
> their 0-360 counterparts. But when I use gsn_csm_contour, it throws:
> Contour plotDraw: CTMESH- UNCLEARED PRIOR ERROE. So can you help me with
> that?
> P.S. I have set the sfXArray and sfYArray to lon and lat array.
> Many thanks!
> Cheung
>
>
>
>
> _______________________________________________
> 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 Sun Sep 25 09:59:39 2011

This archive was generated by hypermail 2.1.8 : Mon Sep 26 2011 - 14:45:50 MDT