[Thread Prev][Thread Next][Index]
how to define a 3-D variable
Dear ferreters:
The purpose is to control vector colors using vector
routine (poly_vector routine is not good due to wide
arrow head).
Assume I have velocity V(x,y), I wish to separate it
into a 3-D field VV(x,y,t) according to the 3rd
variable (say SST). If I can do this, I will be able
to plot series vector/over plot with different colors.
Here is what I did:
----------------------------------------
DEFINE AXIS/t=1:10:1/unit=none naxis
repeat/range=1:10/name=m (let/t=`m` vv = if (sst gt
`m`) then v)
list vv[t=1]
list vv[t=10]
----------------------------------------
The listed values of vv[t=1] and vv[t=10] are same.
I guess the problem is "let/t=..."
Is there any way to define a new variable with
additional dimension?
Thanks
=====
Boyin Huang
The Center for Research on the Changing Earth System (CRCES)
10211 Wincopin Circle, Suite 240
Columbia, Maryland 21044
Tel. 410-992-5300/19 (O), 410-461-9339(H)
Fax. 410-992-5944, Email. byh@crces.org
http://byh.crces.org
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement