From 227f73622b4576bf21719fcc9ea99416056d8a71 Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 8 Jun 2025 23:16:33 +0300 Subject: init, have brushed and brushless sim and gnuplot viz, also some usb hid testing --- plot.gnu | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 plot.gnu (limited to 'plot.gnu') 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 -- cgit v1.2.3