wouaou, what a nicer documentation
This commit is contained in:
19
doc/mkgraf.sh
Normal file
19
doc/mkgraf.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
PI=" 3.141592654 "
|
||||
OUT="foo.tex"
|
||||
|
||||
gnuplot << __EOF__
|
||||
|
||||
set term latex
|
||||
set output "$OUT"
|
||||
set title "COS010"
|
||||
|
||||
plot \
|
||||
[0:1] [0:1] \
|
||||
(0.5 - 0.5 * cos(x*$PI)) \
|
||||
with line
|
||||
|
||||
__EOF__
|
||||
|
||||
wc $OUT
|
||||
Reference in New Issue
Block a user