Pyxplot

Examples - Fourier transform of top hat


Prev
Next

Download this example:

Using Pyxplot's Fourier transform command

.

Script

set numerics complex
step(x) = tophat(x,0.5)
fft [-1:1:0.01] f() of step()
set key outside
plot [-10:10] Re(f(x*1)) title texify("Re(f(x))"), sinc(pi*x)