Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/gnuplot -persist
- set xlabel "x/y time"
- set ylabel "x/y values"
- set style line 1 lt 1 pt 7 ps 1
- set style line 2 lt 2 pt 7 ps 1
- set style line 3 lt 3 pt 7 ps 1
- set style line 4 lt 4 pt 7 ps 1
- data_file = "data.csv"
- out_file = "out.csv"
- # Input file contains comma-separated values fields
- set datafile separator ","
- plot \
- data_file using ($1) \
- title "x" \
- with linespoints linestyle 1, \
- data_file using ($2) \
- title "y" \
- with linespoints linestyle 2, \
- out_file using ($1) \
- title "x_{LPF2}" \
- with linespoints linestyle 3, \
- out_file using ($2) \
- title "y_{LPF2}" \
- with linespoints linestyle 4, \
- pause mouse close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement