Open scope and paste this script into the
Then press <Ctrl + R> to plot the "square: wave
Select "Wavelet time to wave"
from the Complex menu to view the result.
Notice that the waveplot_t plot is used
to hold the transform results. Wave space is real, there isn't
a complex part.
set units = rad
numpoints = 1000
time = (vector(numpoints)/(numpoints-1)*10m)
newplot waveplot time
y = sin(2*pi*time*1k)
y = y + sin(2*pi*time*3k)/3
y = y + sin(2*pi*time*5k)/5
y = y * (1 - cos(2*pi*time/10m))
set units = deg