summaryrefslogtreecommitdiff
path: root/plot.gnu
diff options
context:
space:
mode:
Diffstat (limited to 'plot.gnu')
-rw-r--r--plot.gnu19
1 files changed, 19 insertions, 0 deletions
diff --git a/plot.gnu b/plot.gnu
new file mode 100644
index 0000000..8d42553
--- /dev/null
+++ b/plot.gnu
@@ -0,0 +1,19 @@
+set title "Some Sample Plots"
+
+set ylabel "rad/s"
+set y2label "I"
+set y2tics
+
+set grid
+
+set style line 1 \
+ linecolor rgb '#0060ad' \
+ linetype 1 linewidth 3
+
+set style line 2 \
+ linecolor rgb '#dd181f' \
+ linetype 2 linewidth 3 \
+
+ plot 'data1.dat' using 1:2 title "Angular Speed" with lines linestyle 1 axis x1y1, \
+ 'data1.dat' using 1:4 title "Current" with lines linestyle 2 axis x1y2
+ pause -1