I am running a bash script that produces a series of plots using gnuplot.
Next to each plot I want to write some information about the plot (average
etc), and I achieve this using labels. I have the following settings (among
others):
<code>
#!/bin/bash
for some input in {blah };do
gnuplot << EOF
set term pngcairo size 800,600
set output '$input.png'
set size 0.8,1
set label 1 at graph 1.2, graph 0.2
set label 1 "Average $average"
...
set more labels
...
splot .....
EOF
done
</code>
This works fine most of the times, but randomly in some plots the labels are
mispositioned (examples attached - first one is ok, second one is
misplaced). Any idea why this might happen? And better yet, how to fix it?
Thanks!!
http://old.nabble.com/file/p34568733/DF_01_basecase_East_1.png
http://old.nabble.com/file/p34568733/DF_05_twolouvers_East_3.png
--
View this message in context: http://old.nabble.com/automated-label-positioning-tp34568733p34568733.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|