set logscale y
set title "Residuals"
set xlabel 'Iteration'
plot "< cat logSolve | grep 'Solving for T' | cut -d' ' -f9 | tr -d ','" title 'Temp' with lines,\
     "< cat logSolve | grep 'Solving for Uy' | cut -d' ' -f9 | tr -d ','" title 'Uy' with lines,\
     "< cat logSolve | grep 'Courant Number' | cut -d' ' -f9 | tr -d ','" title 'Uz' with lines,\
     "< cat logSolve | grep 'Solving for p_rgh' | cut -d' ' -f9 | tr -d ','" title 'p_rgh' with lines,
pause 1
reread 
