
export waves with names and a header

maru
Hi,
How can I export waves (1D) with names and a header?
I want to name each column with something different from the wave name.
e.g.
This is a daily record generated by Igor Pro 8.03.
Data starts from next line.
Sunday, Monday, Tuesday
1, 1, 0
2, 0, 1
-4, 3, 6
I have tried to use Save/G, but I could not find flags to append a header and add specified names to the columns.
You can write a header using the Open, fprintf, and Close operations.
You can then append the wave names and data to the same file using Save/A/W.
Here is an example using fprintf.
March 10, 2020 at 07:21 pm - Permalink
Thanks!
March 11, 2020 at 05:15 pm - Permalink