Creating waves of arbitrary data

lizhb
Posts: 1
Joined: 2008-05-13
Location: United States

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.


jjweimer
Posts: 241
Joined: 2007-08-14
Location: United States

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


Posts: 93
Joined: 2007-06-29
Location: United States

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


Back to top