-
Notifications
You must be signed in to change notification settings - Fork 0
/
exp8.py
13 lines (7 loc) · 1.07 KB
/
exp8.py
1
2
3
4
5
6
7
8
9
10
11
12
13
from krrt.stats.plots import *
x = [0.0,0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95]
y = [0.0, 0.436, 0.893574297188755, 1.517102615694165, 2.0706357214934408, 2.6372045220966083, 3.2224532224532223, 3.9770240700218817, 4.456775700934579, 5.216624685138539, 5.633608815426998, 6.182266009852217, 6.754901960784314, 7.115384615384615, 7.5568862275449105, 8.065040650406504, 8.53960396039604, 8.48993288590604, 8.870588235294118, 9.613636363636363]
yerr = [0, 0.6770246394056588, 1.062243229630817, 1.3963732536026532, 1.7514944555359535, 1.9644298841791383, 2.1471358873208852, 2.2588556421616133, 2.458164746151433, 2.6251140740615986, 2.6916319738451633, 2.882789354430377, 2.811833940375491, 3.0547066344902762, 2.8201437367137263, 2.926974721235044, 3.010911473636146, 3.3422307036687884, 3.4183964330764023, 3.415420804022184]
y = [n / 20.0 for n in y]
yerr = [n / 20.0 for n in yerr]
plot(x, y, x_label=r'Environment Variability ($\alpha$)', y_label='Mean Replans', col=False, xyline=False, no_scatter=True, y1line=True, yerr=yerr, maxY=1.0)