From: Uwe Hermann Date: Sun, 4 Sep 2016 16:16:40 +0000 (+0200) Subject: contrib: Drop all example gnuplot scripts. X-Git-Tag: libsigrok-0.5.0~219 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d5794ad63ac0bc6f090b799b12d310c30860217b;p=libsigrok.git contrib: Drop all example gnuplot scripts. These files (or at least similar ones) can now be generated by the CSV output module. --- diff --git a/Makefile.am b/Makefile.am index b2cc7998..cd8a49d3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -553,11 +553,6 @@ EXTRA_DIST = \ bindings/swig/classes.i \ bindings/swig/doc.py \ bindings/swig/templates.i \ - contrib/gnuplot_chronovu_la8.gpi \ - contrib/gnuplot_rigol_ds1xx2.gpi \ - contrib/gnuplot_usbeesx.gpi \ - contrib/gnuplot_usbeedx8.gpi \ - contrib/gnuplot_usbeedx16.gpi \ contrib/sigrok-logo-notext.png \ contrib/z60_libsigrok.rules diff --git a/contrib/gnuplot_chronovu_la8.gpi b/contrib/gnuplot_chronovu_la8.gpi deleted file mode 100644 index d8a8b489..00000000 --- a/contrib/gnuplot_chronovu_la8.gpi +++ /dev/null @@ -1,47 +0,0 @@ -## -## This file is part of the libsigrok project. -## -## Copyright (C) 2011 Uwe Hermann -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## - -# We're setting the colors of the 8 channels to match the colors of the -# probe cables on the ChronoVu LA8: -# background = white, borders = black, axes = gray, -# ch0 = green, ch1 = orange, ch2 = white, ch3 = red, -# ch4 = gray, ch5 = brown, ch6 = blue, ch7 = yellow -set terminal png large size 2048, 1536 xffffff x000000 x404040 \ - x37aa34 xff7c00 xe0e0e0 xff0000 \ - x808080 x925525 x425adc xfbee13 -set autoscale -set grid -set ytics ("Channel 7" 2, "Channel 6" 4, "Channel 5" 6, "Channel 4" 8, \ - "Channel 3" 10, "Channel 2" 12, "Channel 1" 14, "Channel 0" 16) -set title "sigrok gnuplot output, http://www.sigrok.org, ChronoVu LA8" -set xlabel "Sample number" -set ylabel "Channel" -set output "sigrok_gnuplot.png" - -plot [0:8388608] [0:18] \ -"sigrok_gnuplot.dat" using 1:($2 + 15) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($3 + 13) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($4 + 11) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($5 + 9) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($6 + 7) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($7 + 5) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($8 + 3) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($9 + 1) with lines linewidth 2 title "" - diff --git a/contrib/gnuplot_rigol_ds1xx2.gpi b/contrib/gnuplot_rigol_ds1xx2.gpi deleted file mode 100644 index a598b9eb..00000000 --- a/contrib/gnuplot_rigol_ds1xx2.gpi +++ /dev/null @@ -1,37 +0,0 @@ -## -## This file is part of the libsigrok project. -## -## Copyright (C) 2013 Uwe Hermann -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## - -set terminal png large size 2048, 1536 -set autoscale -set grid -set title "sigrok gnuplot output, http://www.sigrok.org, Rigol DS1xx2" -set xlabel "Time" -set ylabel "Voltage" -set output "sigrok_gnuplot.png" - -# -# Rigol DS1xx2 output is currently always 600 samples in size. -# This script currently also assumes only one channel is acquired like this: -# -# $ sigrok-cli --driver rigol-ds --frames 1 -p CH1 ... -# -plot [0:600] \ -"sigrok_gnuplot.dat" using 1 with lines linewidth 2 title "CH1" - diff --git a/contrib/gnuplot_usbeedx16.gpi b/contrib/gnuplot_usbeedx16.gpi deleted file mode 100644 index 4ee09429..00000000 --- a/contrib/gnuplot_usbeedx16.gpi +++ /dev/null @@ -1,62 +0,0 @@ -## -## This file is part of the libsigrok project. -## -## Copyright (C) 2010 Uwe Hermann -## Copyright (C) 2012 Ivan Fedorov -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## - -# We're setting the colors of the 16 channels to match the colors of the -# probe cables on the CWAV USBee DX: -# background = white, borders = black, axes = gray, -# ch0 = black, ch1 = brown, ch2 = red, ch3 = orange, -# ch4 = yellow, ch5 = green, ch6 = blue, ch7 = violet -# ch8 = black, ch9 = brown, chA = red, chB = orange, -# chC = yellow, chD = green, chE = blue, chF = violet -set terminal png large size 2048, 1536 xffffff x000000 x404040 \ - x000000 xc25525 xff0000 xff7c00 \ - xfbee13 x37ba34 x425adc x9500d3 \ - x000000 xc25525 xff0000 xff7c00 \ - xfbee13 x37ba34 x425adc x9500d3 -set autoscale -set grid -set ytics ("Channel F" 2, "Channel E" 4, "Channel D" 6, "Channel C" 8, \ - "Channel B" 10, "Channel A" 12, "Channel 9" 14, "Channel 8" 16, \ - "Channel 7" 18, "Channel 6" 20, "Channel 5" 22, "Channel 4" 24, \ - "Channel 3" 26, "Channel 2" 28, "Channel 1" 30, "Channel 0" 32) -set title "sigrok gnuplot output, http://www.sigrok.org, CWAV USBee DX" -set xlabel "Sample number" -set ylabel "Channel" -set output "sigrok_gnuplot.png" - -plot [0:200000] [0:34] \ -"sigrok_gnuplot.dat" using 1:($6 + 31) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($7 + 29) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($8 + 27) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($9 + 25) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($5 + 23) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($4 + 21) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($3 + 19) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($2 + 17) with lines linewidth 2 title "", \ -\ -"sigrok_gnuplot.dat" using 1:($17 + 15) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($16 + 13) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($15 + 11) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($10 + 9) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($11 + 7) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($12 + 5) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($13 + 3) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($14 + 1) with lines linewidth 2 title "" diff --git a/contrib/gnuplot_usbeedx8.gpi b/contrib/gnuplot_usbeedx8.gpi deleted file mode 100644 index 69f6c432..00000000 --- a/contrib/gnuplot_usbeedx8.gpi +++ /dev/null @@ -1,47 +0,0 @@ -## -## This file is part of the libsigrok project. -## -## Copyright (C) 2010 Uwe Hermann -## Copyright (C) 2012 Ivan Fedorov -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## - -# We're setting the colors of the 8 channels to match the colors of the -# probe cables on the CWAV USBee DX: -# background = white, borders = black, axes = gray, -# ch0 = black, ch1 = brown, ch2 = red, ch3 = orange, -# ch4 = yellow, ch5 = green, ch6 = blue, ch7 = violet -set terminal png large size 2048, 1536 xffffff x000000 x404040 \ - x000000 xc25525 xff0000 xff7c00 \ - xfbee13 x37ba34 x425adc x9500d3 -set autoscale -set grid -set ytics ("Channel 7" 2, "Channel 6" 4, "Channel 5" 6, "Channel 4" 8, \ - "Channel 3" 10, "Channel 2" 12, "Channel 1" 14, "Channel 0" 16) -set title "sigrok gnuplot output, http://www.sigrok.org, CWAV USBee DX" -set xlabel "Sample number" -set ylabel "Channel" -set output "sigrok_gnuplot.png" - -plot [0:200000] [0:18] \ -"sigrok_gnuplot.dat" using 1:($6 + 15) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($7 + 13) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($8 + 11) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($9 + 9) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($5 + 7) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($4 + 5) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($3 + 3) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($2 + 1) with lines linewidth 2 title "" diff --git a/contrib/gnuplot_usbeesx.gpi b/contrib/gnuplot_usbeesx.gpi deleted file mode 100644 index 74b664a5..00000000 --- a/contrib/gnuplot_usbeesx.gpi +++ /dev/null @@ -1,47 +0,0 @@ -## -## This file is part of the libsigrok project. -## -## Copyright (C) 2010 Uwe Hermann -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## - -# We're setting the colors of the 8 channels to match the colors of the -# probe cables on the CWAV USBee SX: -# background = white, borders = black, axes = gray, -# ch0 = black, ch1 = brown, ch2 = red, ch3 = orange, -# ch4 = yellow, ch5 = green, ch6 = blue, ch7 = violet -set terminal png large size 2048, 1536 xffffff x000000 x404040 \ - x000000 xc25525 xff0000 xff7c00 \ - xfbee13 x37ba34 x425adc x9500d3 -set autoscale -set grid -set ytics ("Channel 7" 2, "Channel 6" 4, "Channel 5" 6, "Channel 4" 8, \ - "Channel 3" 10, "Channel 2" 12, "Channel 1" 14, "Channel 0" 16) -set title "sigrok gnuplot output, http://www.sigrok.org, CWAV USBee SX" -set xlabel "Sample number" -set ylabel "Channel" -set output "sigrok_gnuplot.png" - -plot [0:1000000] [0:18] \ -"sigrok_gnuplot.dat" using 1:($2 + 15) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($3 + 13) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($4 + 11) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($5 + 9) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($6 + 7) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($7 + 5) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($8 + 3) with lines linewidth 2 title "", \ -"sigrok_gnuplot.dat" using 1:($9 + 1) with lines linewidth 2 title "" -