Hi liping,
you can you coordinate subscripting, but there is a limitation in that you
can not use coordinate subscripting of a coordinate variable, you must
have that variable local in memory, so
lat = x&lat
plot(1)=gsn_csm_xy(wks,lat({-30:30}),m2({-30:30}),res)
note that you had -30,30. this is incorrect. the syntax requires a :
sylvia
On Mon, 9 Feb 2004, liping deng wrote:
> hello!---a question, if anyone have some suggeation ,
> please tell me, thank you very much!
>
>
> To
> plot(1)=gsn_csm_xy(wks,m2&lat,m2,res)
> here is 90S to 90N
> but I want cut it from 30S to 30N
>
>
> plot(1)=gsn_csm_xy(wks,m2({-30,30})&lat,m2({-30,30}),res)
>
> this one not work
>
> plot(1)=gsn_csm_xy(wks,m2&lat,m2({-30,30}),res)
> this one cut,but not fix with x axis
>
> can I change latitude here , or need find other way?
>
> Good Lucky!
>
> liping
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
> _______________________________________________
> ncl-talk mailing list
> ncl-talk AT ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
******************************************************
Sylvia Murphy EML: murphys AT ucar.edu
NCAR CGD/CSEG PHN: 303-497-1720
1850 Table Mesa Drive FAX: 303-497-1333
Boulder CO 80305
WEB: http://www.cgd.ucar.edu/csm/support/
http://www.cgd.ucar.edu/csm/support/CSM_Graphics/
******************************************************
_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Mon Feb 09 2004 - 14:32:59 MST