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:
parent
42311597c0
commit
7a367fc289
4 changed files with 8 additions and 1 deletions
5
math/gnuplot/README.md
Normal file
5
math/gnuplot/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
You might have to run
|
||||
|
||||
`sudo apt-get install gnuplot`
|
||||
|
||||
first.
|
|
@ -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`
|
||||
|
||||

|
||||
|
||||
Examples
|
||||
--------
|
||||
* http://www.gnuplotting.org/tag/data/
|
||||
|
|
BIN
math/gnuplot/draw-csv/draw-csv.png
Normal file
BIN
math/gnuplot/draw-csv/draw-csv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue