aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-06-01 17:31:57 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-06-01 17:31:57 +0200
commit1b408f5296b72706f7521ff60abfe764ebcc34e4 (patch)
tree02a46eb78f14fb9dfd0b011011b37cda000e25f6 /src
parentf894d4ea34045c97aea2fc0853696431797d9f81 (diff)
downloadfortran-assignment2-1b408f5296b72706f7521ff60abfe764ebcc34e4.tar.gz
fortran-assignment2-1b408f5296b72706f7521ff60abfe764ebcc34e4.zip
plot function's frequency spectrum
Diffstat (limited to 'src')
-rw-r--r--src/f1_dft.gnuplot5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/f1_dft.gnuplot b/src/f1_dft.gnuplot
new file mode 100644
index 0000000..216be5a
--- /dev/null
+++ b/src/f1_dft.gnuplot
@@ -0,0 +1,5 @@
+set terminal png size 1440, 900
+set output 'res/f1_dft.png'
+set logscale y
+set xrange [0:1000]
+plot 'res/f1_dft.txt' title 'dft' with lines \ No newline at end of file