I have a procedure which is fitting a batch of curves and compiling the parameters. Currently, said paramaters are saved in a multidimensional wave (2D). Thanks to help from here, I now know how to manually overwrite column labels in a table, but I have yet to figure out how to make the wave into the table in the procedure (and then save the modified table). Is there a way to do this other than from the command line? Doing this would make using the data much more accessible.
Just once more for clarity: in my procedure I want to make my 2D wave into a table with custom column labels, and save a copy of the modified table. Thank you for your help!
I don't fully understand your question but here is how I would do it:
Function DemoColumnTitles()Make/O/N=(2,2) mat
Edit mat.d // Edit data onlyModifyTable title[1]="Title0"// Set column titleModifyTable title[2]="Title1"// Set column titleEnd
Quote:
and save a copy of the modified table
I don't know what you mean by this. What kind of copy and why? What are you attempting to achieve?
I don't fully understand your question but here is how I would do it:
Function DemoColumnTitles()Make/O/N=(2,2) mat
Edit mat.d // Edit data onlyModifyTable title[1]="Title0"// Set column titleModifyTable title[2]="Title1"// Set column titleEnd
Quote:
and save a copy of the modified table
I don't know what you mean by this. What kind of copy and why? What are you attempting to achieve?
Thank you. I tried something similar but it wasn't working. However, the ".d" on the edit command got it to work. Is there a similar way to label rows?
I don't know what you mean by this. What kind of copy and why? What are you attempting to achieve?
March 12, 2016 at 12:00 pm - Permalink
Thank you. I tried something similar but it wasn't working. However, the ".d" on the edit command got it to work. Is there a similar way to label rows?
March 13, 2016 at 02:32 pm - Permalink
No. I recommend that you create a text wave with the desired labels.
March 13, 2016 at 07:41 pm - Permalink
I frequently use dimension labels to annotate numeric data:
Or use the following snippet to label waves:
http://www.igorexchange.com/node/6249
March 14, 2016 at 01:29 am - Permalink