#!/bin/sh if ! which gnuplot > /dev/null 2>&1 then echo "gnuplot not found - skipping graph creation" >&2 exit 1 fi gnuplot< (-)' plot '../postProcessing/gasHoldup/0/gasHoldup.dat' u 1:2 w l notitle #\*-------------------------------Flow rates---------------------------------*/ set title 'Flow rate' set output '../flowRates.png' set xlabel 't (s)' set ylabel 'Flow rate (m^3/s)' plot '../postProcessing/inletGasFlow/0/surfaceFieldValue.dat' u 1:2 w l t 'Gas inlet',\ '../postProcessing/outletGasFlow/0/surfaceFieldValue.dat' u 1:2 w l t 'Gas outlet' EOF