1# Sample script to draw residual histories
2
3set terminal postscript eps enhanced color
4set output "residual_histories.eps"
5
6set title "Residual Histories"
7set xlabel "Number of Iterations"
8set ylabel "Relative Residual 2-norm"
9set style line 1
10set logscale y
11set format y "10^{%L}"
12
13
14# Draw residual histories of test programs.
15
16plot \
17"ILU0-BiCG" with linespoints, \
18"ILU0-CGS" with linespoints, \
19"ILU0-BiCGSTAB" with linespoints
20