Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save asubb/f0394107583be3be69e2e3e0d264a04f to your computer and use it in GitHub Desktop.
Save asubb/f0394107583be3be69e2e3e0d264a04f to your computer and use it in GitHub Desktop.
wave-blog/using-jupyter/long.signal.query.plot.kt
val df1 = fftData("fft-triangular", freqCutOff = 10 to 3800)
lets_plot(df1) {x = "time"; y = "freq"; fill = "value"} +
ggsize(1000, 600) +
geom_tile() +
scale_fill_gradient(low = "light_green", high = "red")
val df2 = fftData("fft-hamming", freqCutOff = 10 to 3800)
lets_plot(df2) {x = "time"; y = "freq"; fill = "value"} +
ggsize(1000, 600) +
geom_tile() +
scale_fill_gradient(low = "light_green", high = "red")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment