aboutsummaryrefslogtreecommitdiffstats
path: root/plot_scatter
diff options
context:
space:
mode:
Diffstat (limited to 'plot_scatter')
-rwxr-xr-xplot_scatter9
1 files changed, 5 insertions, 4 deletions
diff --git a/plot_scatter b/plot_scatter
index 6ebb436..de709f3 100755
--- a/plot_scatter
+++ b/plot_scatter
@@ -3,7 +3,7 @@
3#NICE="blacktext linewidth 4.0 \"Helvetica\" 16 " 3#NICE="blacktext linewidth 4.0 \"Helvetica\" 16 "
4 4
5# try thinner lines 5# try thinner lines
6NICE="blacktext linewidth 1.0 \"Helvetica\" 16 " 6NICE="color blacktext solid linewidth 1.0 \"Helvetica\" 20 size 16cm,7cm"
7 7
8EXT="png" 8EXT="png"
9TERMINAL="png size 1024,768 large" 9TERMINAL="png size 1024,768 large"
@@ -15,7 +15,7 @@ while true; do
15 --eps) 15 --eps)
16 shift 16 shift
17 EXT="eps" 17 EXT="eps"
18 TERMINAL="postscript color eps $NICE" 18 TERMINAL="postscript eps $NICE"
19 ;; 19 ;;
20 --lines) 20 --lines)
21 shift 21 shift
@@ -100,7 +100,8 @@ if [ "$PLOT" = "plot " ]; then
100fi 100fi
101 101
102OUT="${OUT}.${EXT}" 102OUT="${OUT}.${EXT}"
103 103KEY="set key below"
104KEY="set key off"
104gnuplot <<EOM 105gnuplot <<EOM
105set terminal $TERMINAL 106set terminal $TERMINAL
106set out '/dev/null' 107set out '/dev/null'
@@ -112,7 +113,7 @@ $PLOT
112set ylabel '$YLABEL' 113set ylabel '$YLABEL'
113set xlabel '$XLABEL' 114set xlabel '$XLABEL'
114set title '$TITLE' 115set title '$TITLE'
115set key below 116$KEY
116set data style $GRAPH 117set data style $GRAPH
117set out '$OUT' 118set out '$OUT'
118replot 119replot