Creating waves of arbitrary data

I know how to import data, but I cannot figure out how to create waves of arbitrary data inside Igor using command line functions. For example, if I want to make a wave with the values 0 5 3 -2, how do I do this? Is there a way to create a wave like this, where the values are not a function of the index? I know how to do this by using the GUI to edit the values in a table, but I want to implement this via command line functions, so I can do it in my procedures.
lizhb wrote:
I know how to import data, but I cannot figure out how to create waves of arbitrary data inside Igor using command line functions...


Example:

make/n=3 mydata={3,5,7}


--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
jjweimer wrote:
lizhb wrote:
I know how to import data, but I cannot figure out how to create waves of arbitrary data inside Igor using command line functions...


Example:

make/n=3 mydata={3,5,7}


--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH


In fact, with the value list you don't even need the /N=3 part. It will get the length by analyzing the list.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com