[gradsusr] Regards Recipe-020: Spaghetti and Box-and-whisker plots and sorting in Grads

Arlindo da Silva dasilva at alum.mit.edu
Wed Mar 23 20:55:05 EDT 2011


On Mon, Mar 21, 2011 at 11:45 AM, Becker, Bernd <
bernd.becker at metoffice.gov.uk> wrote:

>
>
> Hello,
>
> what have we available in Grads that can sort by size?
>
> In recipe-020, box and whisker plot ranges are calculated by
> fraction of standard deviation.
>
> Assume, one were to plot quantiles after ranking:
>
> how would one achieve the ranking?
>
> of a stack of 2-d fields?
>
> This can be a compute intensive and time consuming affair.
> But it would certainly be nice to have.
>
> (in metview, macro "distribution" does the trick)
>
> many thanks for your suggestions.
>
>
One option is to do this in python using the prctile() function. In
situations like this I tend to use pygrads to extract the data and complete
the calculation using numpy/scipy functions. Yes, it is something new to
learn, but nothing like the right tool for the job at hand.

   Arlindo

-- 
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110323/a8f35aae/attachment-0003.html 


More information about the gradsusr mailing list