Skip to content
Snippets Groups Projects
Commit 947f3fea authored by Henry Weller's avatar Henry Weller
Browse files

foamMonitor: change format to support old gnuplot versions

Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1952
parent 5355dbc5
No related merge requests found
...@@ -154,7 +154,12 @@ i=1 ...@@ -154,7 +154,12 @@ i=1
for field in $KEYS for field in $KEYS
do do
i=$(expr $i + 1) i=$(expr $i + 1)
echo "\"$FILE\" using 1:${i} with lines title \"$field\", \\" >> $GPFILE PLOTLINE="\"$FILE\" using 1:${i} with lines title \"$field\""
if [[ $i -lt $NCOLS ]]
then
PLOTLINE="$PLOTLINE, \\"
fi
echo $PLOTLINE >> $GPFILE
done done
plotFileFooter >> $GPFILE plotFileFooter >> $GPFILE
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment