Re: scatter plot

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 26 Feb 2009 13:34:43 -0700


You can't assign an array of one length to an array of another length
in NCL. The thing to do here, if you don't know ahead of time how
big your arrays will be, is to use dimsizes:


Obviously, using dimsizes is overkill, because you do know the sizes
(since you're using them to explicitly index the arrays). However,
I'm not sure what future versions of this script might look like.

With the gsn_add_xxx calls, you are attaching markers to a plot that
doesn't exist. Instead of "plot", use "plot1" in these calls.

You are calling "gsn_panel" and telling it you want to arrays plots
with 3 rows and 1 column, but then you only pass one plot to the


On Feb 26, 2009, at 12:58 PM, Lin Su wrote:

> Dear NCL users,
> I am using NCL to work on the scatter plot for my 6 study sites,
> and I tried to denote each study site by different color in the
> scatter plot (attached please find the ncl script and dataset). I
> can do this easily if the 6 study sites have the same scatter
> points. Can you tell me how to do this based on the different
> points for each study site?
> Thanks a bunch!
> -Lin
> ---
> Lin Su
> From: Lin Su <>
> Date: February 26, 2009 12:51:40 PM MST
> To:
> ---
> Lin Su
> Graduate Research Assistant
> Toon's Aerosol Modeling Group
> <reg6_aeronet_coarse.txt><reg6_wbl_coarse.txt><test.ncl>______________
> _________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Feb 26 2009 - 13:34:43 MST

This archive was generated by hypermail 2.2.0 : Tue Mar 03 2009 - 09:53:57 MST