diff --git a/plots/resolution/resolution.2D.regular.plt b/plots/resolution/resolution.2D.regular.plt index d07e1a9..80152eb 100644 --- a/plots/resolution/resolution.2D.regular.plt +++ b/plots/resolution/resolution.2D.regular.plt @@ -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; diff --git a/plots/resolution/resolution.3D.gmsh.plt b/plots/resolution/resolution.3D.gmsh.plt index 646b539..826835d 100644 --- a/plots/resolution/resolution.3D.gmsh.plt +++ b/plots/resolution/resolution.3D.gmsh.plt @@ -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; diff --git a/plots/resolution/resolution_3D.py b/plots/resolution/resolution_3D.py index 20a309d..df39727 100644 --- a/plots/resolution/resolution_3D.py +++ b/plots/resolution/resolution_3D.py @@ -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