Re: gsnZonalMean

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 02 2012 - 15:24:34 MDT

Hi,

gsnZonalMeans just does a basic average.

To do what you're asking, you need to do the calculation yourself using one of NCL's built-in area-average functions, create the XY plot separately, and attach it yourself.

See our panel page, example panel_10.ncl

http://www.ncl.ucar.edu/Applications/panel.shtml

This example is actually attaching a zonal average plot. You will need to replace the "dim_avg" call with the type of average you want.

--Mary

On Aug 2, 2012, at 10:48 AM, Jinqiang Chen wrote:

>
> Hi there,
>
> Is it possible to use res@gsnZonalMean = True in an area-weighted
> way? (e.g. if we want to show the zonal mean energy transport in
> area-weighted manner).
>
> Thanks very much!
>
> Jinqiang Chen
>
>
>
>
> --
> Jinqiang Chen
> Environmental Science and Engineering
> California Institute of Technology
> 1200 E. California Blvd.
> mc: 131-24
> Pasadena, CA 91125
> tel: (626) 395-8704
> email: jcchen@caltech.edu
> jcchen@gps.caltech.edu
> http://www.gps.caltech.edu/~jcchen/
>
> _______________________________________________
> 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 Thu Aug 2 15:24:54 2012

This archive was generated by hypermail 2.1.8 : Fri Aug 03 2012 - 14:39:58 MDT