tried to automate generation of graphs
This commit is contained in:
parent
2f7c825b22
commit
8f72e70527
101
dokumentation/evolution1d/20170830-evolution1D_5x5_100Times.csv
Normal file
101
dokumentation/evolution1d/20170830-evolution1D_5x5_100Times.csv
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
"Least squares",regularity,variability,improvement,steps,"Evolution error",sigma
|
||||||
|
183.763,0.0179571,0.00111111,0.938632,228,192.44,0.032644
|
||||||
|
229.099,0.0189281,0.00111111,0.923492,96,240.171,0.0562716
|
||||||
|
238.479,0.0215758,0.00111111,0.920359,195,249.883,0.0272032
|
||||||
|
188.152,0.0144312,0.00111111,0.937166,256,197.529,0.0244736
|
||||||
|
191.586,0.0207835,0.00111111,0.936019,156,201.143,0.0235659
|
||||||
|
202.916,0.0168021,0.00111111,0.932236,220,212.978,0.0318143
|
||||||
|
178.439,0.0180162,0.00111111,0.94041,259,187.236,0.0269287
|
||||||
|
229.734,0.0238245,0.00111111,0.92328,203,241.13,0.0281426
|
||||||
|
211.994,0.0192363,0.00111111,0.929204,211,222.511,0.0152364
|
||||||
|
245.717,0.0185166,0.00111111,0.917942,154,256.592,0.0379309
|
||||||
|
225.543,0.0204032,0.00111111,0.92468,160,236.693,0.0243299
|
||||||
|
211.533,0.0207268,0.00111111,0.929358,135,221.694,0.0377055
|
||||||
|
213.806,0.022426,0.00111111,0.928599,188,224.469,0.0237864
|
||||||
|
223.483,0.0172601,0.00111111,0.925368,203,234.382,0.0196412
|
||||||
|
231.924,0.0177059,0.00111111,0.922549,209,243.433,0.0259235
|
||||||
|
184.824,0.0162623,0.00111111,0.938278,242,194.032,0.0222468
|
||||||
|
223.766,0.0179083,0.00111111,0.925273,207,234.567,0.0301655
|
||||||
|
203.27,0.0161445,0.00111111,0.932118,220,213.401,0.0273719
|
||||||
|
193.158,0.0166659,0.00111111,0.935494,221,201.428,0.0414548
|
||||||
|
197.851,0.0185201,0.00111111,0.933927,195,207.224,0.0362339
|
||||||
|
214.041,0.0178594,0.00111111,0.928521,139,224.585,0.0340444
|
||||||
|
211.533,0.018782,0.00111111,0.929358,132,221.895,0.0369246
|
||||||
|
185.356,0.0195083,0.00111111,0.9381,222,194.499,0.0184425
|
||||||
|
198.81,0.0201802,0.00111111,0.933607,242,208.589,0.0259606
|
||||||
|
205.265,0.0202697,0.00111111,0.931451,184,215.456,0.0190532
|
||||||
|
222.952,0.019699,0.00111111,0.925545,178,234.028,0.0261726
|
||||||
|
205.276,0.0193633,0.00111111,0.931448,191,214.716,0.02818
|
||||||
|
230.047,0.0214453,0.00111111,0.923175,216,241.431,0.0234518
|
||||||
|
196.924,0.0190251,0.00111111,0.934237,183,206.599,0.0212354
|
||||||
|
195.184,0.0181113,0.00111111,0.934818,178,204.769,0.0299481
|
||||||
|
194.787,0.018323,0.00111111,0.934951,212,204.23,0.0294953
|
||||||
|
212.533,0.0182128,0.00111111,0.929024,231,222.938,0.0412254
|
||||||
|
176.623,0.0158336,0.00111111,0.941017,209,185.355,0.0266792
|
||||||
|
209.136,0.0204612,0.00111111,0.930159,91,218.429,0.0579325
|
||||||
|
209.848,0.0201986,0.00111111,0.929921,163,219.886,0.0336554
|
||||||
|
209.515,0.0191636,0.00111111,0.930032,185,219.696,0.0286176
|
||||||
|
193.943,0.0178079,0.00111111,0.935233,199,203.581,0.0232988
|
||||||
|
216.239,0.0212003,0.00111111,0.927787,151,226.759,0.0189421
|
||||||
|
211.37,0.0162232,0.00111111,0.929413,173,221.819,0.0171682
|
||||||
|
224.988,0.0196037,0.00111111,0.924865,112,236.226,0.0602406
|
||||||
|
207.221,0.0185908,0.00111111,0.930798,157,217.553,0.0314001
|
||||||
|
203.513,0.0172686,0.00111111,0.932037,188,213.564,0.0328506
|
||||||
|
186.642,0.0195431,0.00111111,0.937671,178,195.759,0.0419734
|
||||||
|
236.265,0.0204047,0.00111111,0.921099,106,247.931,0.0409088
|
||||||
|
222.669,0.0231925,0.00111111,0.925639,162,233.713,0.0215862
|
||||||
|
223.48,0.0208053,0.00111111,0.925369,190,234.013,0.0261078
|
||||||
|
213.098,0.0182925,0.00111111,0.928835,227,223.628,0.0354102
|
||||||
|
185.847,0.0198307,0.00111111,0.937936,217,194.983,0.0198853
|
||||||
|
215.818,0.0211463,0.00111111,0.927927,212,226.437,0.0327274
|
||||||
|
203.914,0.0228368,0.00111111,0.931903,219,214.086,0.0166239
|
||||||
|
177.639,0.0183023,0.00111111,0.940677,243,186.419,0.0388416
|
||||||
|
187.065,0.0182927,0.00111111,0.937529,217,196.416,0.0185577
|
||||||
|
224.069,0.0206082,0.00111111,0.925172,240,235.058,0.0214527
|
||||||
|
233.059,0.020766,0.00111111,0.922169,249,244.587,0.0304497
|
||||||
|
243.252,0.0197131,0.00111111,0.918766,218,255.376,0.0210078
|
||||||
|
216.096,0.018823,0.00111111,0.927834,240,226.808,0.0218857
|
||||||
|
229.899,0.0235834,0.00111111,0.923225,185,241.372,0.0226563
|
||||||
|
214.545,0.02158,0.00111111,0.928352,180,225.08,0.0281248
|
||||||
|
201.315,0.0215738,0.00111111,0.932771,122,210.821,0.0306565
|
||||||
|
196.866,0.0199231,0.00111111,0.934256,254,206.672,0.0171958
|
||||||
|
191.811,0.0187791,0.00111111,0.935944,264,201.399,0.0284519
|
||||||
|
234.589,0.0153778,0.00111111,0.921659,173,246.066,0.0288251
|
||||||
|
241.822,0.0210075,0.00111111,0.919243,147,253.875,0.0448453
|
||||||
|
247.389,0.020118,0.00111111,0.917384,180,259.741,0.0237541
|
||||||
|
197.862,0.0191194,0.00111111,0.933924,258,207.655,0.0309044
|
||||||
|
227.298,0.0193875,0.00111111,0.924094,189,238.654,0.0244366
|
||||||
|
203.016,0.0194783,0.00111111,0.932203,345,213.147,0.0293344
|
||||||
|
200.344,0.0181137,0.00111111,0.933095,211,210.34,0.0279667
|
||||||
|
260.653,0.0211892,0.00111111,0.912955,159,273.684,0.0173598
|
||||||
|
190.801,0.018724,0.00111111,0.936282,145,200.321,0.0244174
|
||||||
|
219.31,0.0152034,0.00111111,0.926761,298,230.127,0.0304617
|
||||||
|
201.013,0.0189705,0.00111111,0.932871,154,210.898,0.0368793
|
||||||
|
214.751,0.0212631,0.00111111,0.928283,189,224.914,0.0281325
|
||||||
|
199.042,0.0200792,0.00111111,0.93353,228,208.711,0.0294291
|
||||||
|
222.258,0.0190311,0.00111111,0.925777,220,233.241,0.0218053
|
||||||
|
193.965,0.0185556,0.00111111,0.935225,281,203.658,0.0236132
|
||||||
|
216.305,0.0220209,0.00111111,0.927765,187,227.058,0.0289074
|
||||||
|
209.518,0.0164836,0.00111111,0.930031,193,219.89,0.0252204
|
||||||
|
202.805,0.0195855,0.00111111,0.932273,235,212.877,0.0518397
|
||||||
|
205.584,0.0203958,0.00111111,0.931345,203,215.439,0.0362367
|
||||||
|
181.975,0.0182167,0.00111111,0.939229,173,191.017,0.0257238
|
||||||
|
161.995,0.0204489,0.00111111,0.945902,260,170.069,0.0166518
|
||||||
|
194.688,0.0204944,0.00111111,0.934984,184,204.348,0.0314503
|
||||||
|
185.811,0.0200401,0.00111111,0.937948,332,195.049,0.0270099
|
||||||
|
197.624,0.020823,0.00111111,0.934003,281,207.186,0.0391989
|
||||||
|
214.766,0.0218128,0.00111111,0.928278,157,225.229,0.0353567
|
||||||
|
219.632,0.0173274,0.00111111,0.926653,160,230.466,0.036049
|
||||||
|
202.581,0.0162571,0.00111111,0.932348,237,212.578,0.0297746
|
||||||
|
181.621,0.0177214,0.00111111,0.939347,316,190.496,0.0259462
|
||||||
|
250.268,0.0185787,0.00111111,0.916423,135,262.382,0.0245029
|
||||||
|
205.717,0.0178907,0.00111111,0.931301,255,215.988,0.0274579
|
||||||
|
197.391,0.0189724,0.00111111,0.934081,215,206.934,0.0376919
|
||||||
|
238.981,0.0223217,0.00111111,0.920192,100,250.737,0.0435432
|
||||||
|
196.091,0.01434,0.00111111,0.934515,190,205.827,0.0556249
|
||||||
|
202.756,0.0184759,0.00111111,0.932289,271,212.891,0.0270203
|
||||||
|
191.765,0.0184657,0.00111111,0.93596,193,201.034,0.0201355
|
||||||
|
202.525,0.0186188,0.00111111,0.932366,239,212.53,0.0201397
|
||||||
|
198.694,0.0176067,0.00111111,0.933646,278,208.545,0.0231376
|
||||||
|
196.578,0.0184124,0.00111111,0.934353,226,206.327,0.0391784
|
||||||
|
190.046,0.0198379,0.00111111,0.936534,133,199.413,0.0284771
|
|
4642
dokumentation/evolution1d/20170830-evolution1D_5x5_100Times.log
Normal file
4642
dokumentation/evolution1d/20170830-evolution1D_5x5_100Times.log
Normal file
File diff suppressed because it is too large
Load Diff
17
dokumentation/evolution1d/images.sh
Executable file
17
dokumentation/evolution1d/images.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $? -ne 1 ]]; then
|
||||||
|
echo "usage: $0 <DATA.csv>"
|
||||||
|
else
|
||||||
|
$data=$1;
|
||||||
|
$png=`echo $1 | sed -s "s/\.csv$//"` # strip ending
|
||||||
|
(gnuplot <<EOD
|
||||||
|
f(x)=a*x+b
|
||||||
|
fit f(x) "$data" every ::1 using 2:5 via a,b
|
||||||
|
set terminal png
|
||||||
|
set output "${png}_regularity-vs-steps.png"
|
||||||
|
plot "$data" every ::1 using 2:5 title "regularity vs. steps", f(x) lc rgb "black"
|
||||||
|
EOD
|
||||||
|
) 2> "${png}.gnuplot.log"
|
||||||
|
mv fit.log "${png}.gnuplot.fit.log"
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user