Change single column name for multi-dimensional wave
imksh2000
Function test()
Make/N = (3,3) testwave
End
For testwave, it has 3 rows and 3 columns.
I am trying to change the name of testwave[][0] such as "number_of_atoms".
Unfortunately, when I try it by rename columns, all the waves from testwave[][0] to testwave[0][2] are affected.
Is there are commands for the designation of single column name?
Additionally, what is the role of $ in the command?
You can have a separate column dimension label. Execute this for details:
You can also have separate column titles. Column titles are used only to label a column in a table. Execute this for details:
Setting the column title of a column of a multi-dimensional wave is tricky. You have to specify the column by its position in the table. See the example here:
[quote]Additionally, what is the role of $ in the command?[$quote]
$ converts a string containing a name into a name. For details, execute:
If you are just getting started with Igor programming, see http://www.igorexchange.com/node/6760 for advice.
October 5, 2015 at 02:02 pm - Permalink
October 5, 2015 at 03:10 pm - Permalink