mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
foamMonitor: change format to support old gnuplot versions
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1952
This commit is contained in:
@ -154,7 +154,12 @@ i=1
|
||||
for field in $KEYS
|
||||
do
|
||||
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
|
||||
plotFileFooter >> $GPFILE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user