diff --git a/math/gnuplot/README.md b/math/gnuplot/README.md new file mode 100644 index 0000000..6eed814 --- /dev/null +++ b/math/gnuplot/README.md @@ -0,0 +1,5 @@ +You might have to run + +`sudo apt-get install gnuplot` + +first. diff --git a/math/gnuplot/draw-csv/README.md b/math/gnuplot/draw-csv/README.md index 08e0171..3232f8f 100644 --- a/math/gnuplot/draw-csv/README.md +++ b/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 * `with boxes`: can also be `lines` or `vectors head size 0.1,20,60 filled lc palette` +![Example](draw-csv.png) + Examples -------- * http://www.gnuplotting.org/tag/data/ diff --git a/math/gnuplot/draw-csv/draw-csv.png b/math/gnuplot/draw-csv/draw-csv.png new file mode 100644 index 0000000..fa2cce2 Binary files /dev/null and b/math/gnuplot/draw-csv/draw-csv.png differ diff --git a/math/gnuplot/draw-csv/plot.gnuplot b/math/gnuplot/draw-csv/plot.gnuplot index 33a5abc..e5a5a49 100644 --- a/math/gnuplot/draw-csv/plot.gnuplot +++ b/math/gnuplot/draw-csv/plot.gnuplot @@ -1,4 +1,4 @@ set terminal latex set output "plot-tmp.tex" 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