summaryrefslogtreecommitdiffstats
path: root/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/spectrum.plt
blob: ab4eaf11c3a8ac9e78b20187876963fcbf3ba6d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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