[Thread Prev][Thread Next][Index]

convert Variable into Symbol



Dear Ferreters:

How to convert a variable into a symbol?

Assuming "J" is an integer variable from 1,2, ..., 9,
10,

I tried to convert J into a symble and label it in a
plot using

let sym sj = ($J)
lab/nouser, 0, 0, 0, 0, sj

which does not plot anything
-------------------------------------------------

if I modified it slightly
lab/nouser, 0, 0, 0, 0, A($J)
which does plot A1, A2, ..., A10, although I do not
want symbol A to be there.

When I use 
lab/nouser, 0, 0, 0, 0, A$J
I got the same result.
--------------------------------------------------

Any way to get the conversion?

=====
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), 301-770-5826(H)
Fax. 410-992-5944, Email. byh@crces.org
http://byh.crces.org

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement