File size: 463 Bytes
6497c7e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
set logscale y
set title "Residuals"
set ylabel 'Residual'
set xlabel 'Iteration'
set terminal pngcairo size 800,600
set output 'residuals_plot.png'
plot "< cat log.simpleFoam | grep 'Solving for Ux' | cut -d' ' -f9 | tr -d ','" title 'Ux' with lines,\
"< cat log.simpleFoam | grep 'Solving for Uy' | cut -d' ' -f9 | tr -d ','" title 'Uy' with lines,\
"< cat log.simpleFoam | grep 'Solving for Uz' | cut -d' ' -f9 | tr -d ','" title 'Uz' with lines
set output
|