updated plots

This commit is contained in:
Stephen McQuay 2011-05-29 14:21:19 -06:00
parent 2fc7c0b83b
commit 3ac6561228
3 changed files with 22 additions and 16 deletions

View File

@ -1,17 +1,17 @@
set terminal postscript enhanced
load '../main.plt'
# hello world
set output 'resolution.2D.eps'
set log xy
set key right bottom
set xrange [0.008:0.18]
set xlabel "Mesh Spacing"
set ylabel "RMS of error"
set xlabel 'Mesh Spacing'
set ylabel 'RMS of error'
plot './resolution.2D.64.out' \
u 1:3 t "{/Symbol n} = 2" w l,\
"" u 1:4 t "{/Symbol n} = 3" w l,\
"" u 1:5 t "{/Symbol n} = 4" w l,\
"" u 1:6 t "{/Symbol n} = 5" w l;
u 1:3 t '{/Symbol n} = 2' w l,\
'' u 1:4 t '{/Symbol n} = 3' w l,\
'' u 1:5 t '{/Symbol n} = 4' w l,\
'' u 1:6 t '{/Symbol n} = 5' w l;

View File

@ -1,17 +1,17 @@
set terminal postscript enhanced
load '../main.plt'
# hello world
set output 'resolution.3D.eps'
set log xy
set key right bottom
set xrange [0.004:0.055]
set xlabel "Mesh Spacing"
set ylabel "RMS of error"
set xlabel 'Mesh Spacing'
set ylabel 'RMS of error'
plot './resolution.3D.gmsh.out' \
u 1:2 t "{/Symbol n} = 2" w l,\
"" u 1:3 t "{/Symbol n} = 3" w l,\
"" u 1:4 t "{/Symbol n} = 4" w l,\
"" u 1:5 t "{/Symbol n} = 5" w l;
u 1:2 t '{/Symbol n} = 2' w l,\
'' u 1:3 t '{/Symbol n} = 3' w l,\
'' u 1:4 t '{/Symbol n} = 4' w l,\
'' u 1:5 t '{/Symbol n} = 5' w l;

View File

@ -1,3 +1,9 @@
"""
This script was run to generate the resolution study. it requres the generated
sqlite3 db of results from the gmsh folder.
"""
import sys
import sqlite3
import numpy as np