S
Svenn Are Bjerkem
Guest
Hi,
looking at some of the code examples posted here I came up with the
following code to get the x-axis of a waveform returned as a list. My
question is just: Is this really the simplest/best way to do this
task?
xvec = drGetWaveformXVec( waveform )
(let (i alist) for(i 0 sub1(drVectorLength(xvec)) alist=tconc(alist
drGetElem(xvec i))) car(alist))
it works as expected, that is not the problem, but if there is already
a dr* or awv* function that I don't know about it would probably be
better.
--
Svenn
looking at some of the code examples posted here I came up with the
following code to get the x-axis of a waveform returned as a list. My
question is just: Is this really the simplest/best way to do this
task?
xvec = drGetWaveformXVec( waveform )
(let (i alist) for(i 0 sub1(drVectorLength(xvec)) alist=tconc(alist
drGetElem(xvec i))) car(alist))
it works as expected, that is not the problem, but if there is already
a dr* or awv* function that I don't know about it would probably be
better.
--
Svenn