Преглед на файлове

gnuplut+csv example fixed

Martin Thoma преди 12 години
родител
ревизия
7a367fc289
променени са 4 файла, в които са добавени 8 реда и са изтрити 1 реда
  1. 5 0
      math/gnuplot/README.md
  2. 2 0
      math/gnuplot/draw-csv/README.md
  3. BIN
      math/gnuplot/draw-csv/draw-csv.png
  4. 1 1
      math/gnuplot/draw-csv/plot.gnuplot

+ 5 - 0
math/gnuplot/README.md

@@ -0,0 +1,5 @@
+You might have to run
+
+`sudo apt-get install gnuplot`
+
+first.

+ 2 - 0
math/gnuplot/draw-csv/README.md

@@ -8,6 +8,8 @@ Syntax: `plot 'data.csv' every::1::7  using 1:2 with boxes`
 * `using 1:2`: use first and second column
 * `using 1:2`: use first and second column
 * `with boxes`: can also be `lines` or `vectors head size 0.1,20,60 filled lc palette`
 * `with boxes`: can also be `lines` or `vectors head size 0.1,20,60 filled lc palette`
 
 
+![Example](draw-csv.png)
+
 Examples
 Examples
 --------
 --------
 * http://www.gnuplotting.org/tag/data/
 * http://www.gnuplotting.org/tag/data/

BIN
math/gnuplot/draw-csv/draw-csv.png


+ 1 - 1
math/gnuplot/draw-csv/plot.gnuplot

@@ -1,4 +1,4 @@
 set terminal latex
 set terminal latex
 set output "plot-tmp.tex"
 set output "plot-tmp.tex"
 set datafile separator "," 
 set datafile separator "," 
-plot 'data.csv' every::1::7  using 1:2:3:4 with vectors head size 0.1,20,60 filled lc palette
+plot 'data.csv' every::1::7  using 1:2:3:4 with vectors