Re: gsnXYFillColors in a profile plot?

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Dec 03 2009 - 21:13:52 MST

Hi Ryan,

If you have V5.1.1 of NCL, then please try the attached "gsn_csm.ncl"
script in place of your current one. You can replace the line:

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"

with:

load "./gsn_csm.ncl"

You should then be able to use gsnXYRightFillColors and
gsnXYLeftFillColors or gsnXYFillColors to fill the colors between the
curves.

This capability will be added to V5.2.0.

I've attached a sample script for you to try.

--Mary

On Dec 3, 2009, at 1:45 PM, Ryan L. Sriver wrote:

> Hello group.
>
> I'm curious if there is a way to fill the area between curves in a xy
> profile plot, where I've switched the x and y axes as in example 16 in
> the xy plots section of the application examples: http://www.ncl.ucar.edu/Applications/Images/xy_16_lg.png
>
> It appears that in this case I cannot use the resource
> gsnXYFillColors, since the x variable is now a multi-dimensional
> array.
>
> Thanks in advance for any advice.
> Ryan
>
>
>
> Ryan L. Sriver
> NOAA C&GC Postdoctoral Fellow
> Department of Meteorology
> The Pennsylvania State University
> http://roskilde.eas.purdue.edu/~rsriver
>
>
>
>
>
> _______________________________________________
> 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

fill_xy3-3.png
Received on Thu Dec 3 21:14:14 2009

This archive was generated by hypermail 2.1.8 : Mon Dec 07 2009 - 16:12:30 MST