Print the X value of a scaled wave [Solved]
devoto
I am not really an expert of Igor, I tried to find a solution of my problem, but I didn't.
Could someone tell me if there is a way to print out the X value of a scaled wave?
If I have a scaled wave named waveA and I type:
print waveA
I have the data value, but the X value?
Thanks,
Ciccio
print dimdelta(waveA,0)
This will give you the delta value for the X scaling.
Or did you want all x-values?
To do this, duplicate your wave and then set that duplicated wave to =x and print.
xValues =x
Print xValues
December 22, 2016 at 06:35 am - Permalink
edit waveA.id
It depends on what you are using it for, of course.
-Matthew
December 22, 2016 at 11:54 am - Permalink
thank you very much for the answers! I will use both in different situations.
Sorry for the delay but I was in vacation :-)
Cheers,
Ciccio
January 4, 2017 at 05:14 am - Permalink