summaryrefslogtreecommitdiffstats
path: root/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/spectrum.plt
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/spectrum.plt
downloadStudium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz
Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/spectrum.plt')
-rw-r--r--Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/spectrum.plt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/spectrum.plt b/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/spectrum.plt
new file mode 100644
index 0000000..ab4eaf1
--- /dev/null
+++ b/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/spectrum.plt
@@ -0,0 +1,23 @@
+set terminal wxt
+set terminal wxt font "/Library/Fonts/Sans Serif, 11"
+set multiplot
+set size 1.0,0.5
+set datafile separator ";"
+set xlabel "freq. [Hz]"
+set origin 0.0,0.0
+plot "spectrum.csv" using 1:2 title "Amplitude" with lines
+set origin 0.0,0.5
+plot "spectrum.csv" using 1:3 lt 3 title "Phase" with lines
+unset multiplot
+
+set output "spectrum.png"
+set terminal png font "/Library/Fonts/Sans Serif, 11"
+set multiplot
+set size 1.0,0.5
+set datafile separator ";"
+set xlabel "freq. [Hz]"
+set origin 0.0,0.0
+plot "spectrum.csv" using 1:2 title "Amplitude" with lines
+set origin 0.0,0.5
+plot "spectrum.csv" using 1:3 lt 3 title "Phase" with lines
+replot