tplot.gp - numeric - C++ library with numerical algorithms
HTML git clone git://src.adamsgaard.dk/numeric
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
tplot.gp (451B)
---
1 set terminal png
2 set output "performance.png"
3 set xlabel "Sample points N"
4 set ylabel "Execution time [s]"
5 set title "Performane analysis"
6 set log xy
7 set grid
8 plot "performance.dat" u 1:2 title "Plain Monte-Carlo" w lp
9
10 set terminal png
11 set output "error.png"
12 set xlabel "Sample points N"
13 set ylabel "Error"
14 set title "Error analysis"
15 set log xy
16 set grid
17 plot "performance.dat" u 1:3 title "Plain Monte-Carlo" w lp, 1/sqrt(x) w l title "O(1/sqrt(N))"