Hi Ket,
Try using qsort to sort the data:
http://www.ncl.ucar.edu/Document/Functions/Built-in/qsort.shtml
If you have a multi-dimensional array, then you will have to convert it
to a 1D array by using ndtooned before you use qsort..
http://www.ncl.ucar.edu/Document/Functions/Built-in/ndtooned.shtml
Adam
On 12/10/2010 11:21 AM, Ketsiri Leelasakultum wrote:
>
>
> Hello !!
> I want to print my variable from the lowest to highest or highest to lowest.
> Does anyone has experience with this?
> Please suggest.
> Thanks,
> Ket
>
>
>
> _______________________________________________
> 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-talkReceived on Fri Dec 10 11:27:24 2010
This archive was generated by hypermail 2.1.8 : Fri Dec 10 2010 - 14:58:12 MST