2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00

gnuplut+csv example fixed

This commit is contained in:
Martin Thoma 2013-05-16 12:43:27 +02:00
parent 42311597c0
commit 7a367fc289
4 changed files with 8 additions and 1 deletions

5
math/gnuplot/README.md Normal file
View file

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

View file

@ -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/

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -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