[Thread Prev][Thread Next][Index]
Re: How to extract length of axis to a symbol?
On Tue, 3 Apr 2001, McCann, Mike wrote:
> After defining an axis, e.g.:
>
> DEFINE AXIS/T=($TMIN):($TMAX):7200/UNITS=seconds TNEW
>
> How do I get the number of points in the axis and assign
> the number to a symbol?
Hi Mike,
Give this a try:
yes? define symbol num_points `t[gt=tnew],r=lsize`
yes? say ($num_points)
Andrew
----------------------------------------------------------------------
Andrew Wittenberg Program in Atmospheric and Oceanic Sciences
andyw@splash.princeton.edu Princeton University
----------------------------------------------------------------------
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement