Browse Source

nice hack : set ylabel '\rotatebox{90}{corrected value}'

master
tth 2 years ago
parent
commit
33daa84530
  1. 32
      doc/mkgraf.sh

32
doc/mkgraf.sh

@ -1,13 +1,19 @@ @@ -1,13 +1,19 @@
#!/bin/bash
PI=" 3.141592654 "
OUT="foo.tex"
OUT="cos01.tex"
gnuplot << __EOF__
set term latex
set output "$OUT"
set title "COS01"
set xlabel "input value"
set ylabel '\rotatebox{90}{corrected value}'
set grid
plot \
[0:1] [0:1] \
@ -16,4 +22,26 @@ plot \ @@ -16,4 +22,26 @@ plot \
__EOF__
wc $OUT
wc $OUT
OUT="cos010.tex"
gnuplot << __EOF__
set term latex
set output "$OUT"
set title "COS010"
set xlabel "input value"
set ylabel '\rotatebox{90}{corrected value}'
set grid
plot \
[0:1] [0:1] \
(0.5 - 0.5 * cos(x*$PI*2)) \
with line
__EOF__
wc $OUT

Loading…
Cancel
Save