-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot.gaussian.txt
More file actions
20 lines (17 loc) · 3.88 KB
/
plot.gaussian.txt
File metadata and controls
20 lines (17 loc) · 3.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import matplotlib.pyplot as plt
import numpy as np
points = [(0.12541102373745397, 0.0), (3.2982124223633633, 3.7842693939005345), (0.0033280103849675866, -0.0), (24.25849670195652, 21.838304196059344), (1.6623191959360327e-10, 0.0), (4.174524145887352, 3.451124137908274), (8.16270336674186e-05, -0.0), (0.22605891708704678, -0.0), (0.16352875327067395, 0.0), (0.009612993639263346, 0.0), (0.059217558586303044, 0.0), (2.615380870558787, 3.491007643969109), (0.0030199059290117497, 0.0), (30.47070603797937, 33.613419802943184), (0.015900958367815524, 0.0), (0.021817843601828913, 0.0), (0.0001451079483282226, 0.0), (0.05032480333677282, 0.0), (4.941476719597506e-09, -0.0),(2.563902251277461, 3.038828765395619),(0.07063313527384325, 0.0),(0.13093070561838271, 0.0),(0.007248689266982501, 0.0),(0.0012198921309893467, -0.0),(0.07230707818745592, 0.0),(13.624171523477317, 17.69269338499684),(0.000769910277032816, -0.0),(6.225372592985203e-05, -0.0),(0.09704645561093939, 0.0),(4.1584274986973067e-10, -0.0),(0.028994832053425, 0.0),(20.25113356676789, 23.014862347077475),(0.005911828397965274, 0.0),(2.1279246546330075, 1.4838701362963043),(4.218354250709931, 4.041284769490602),(47.14317159561118, 53.15851128676996),(1.8340817760375812, 2.1967290972783595),(0.05185620589898204, 0.0),(0.19182792947129176, 0.0),(0.22477726328611095, 0.0),(4.829867227009799e-16, 0.0),(59.368697876659766, 44.536954044739595),(9.886780396592892, 12.509884183233957),(0.6662816409381566, 0.0),(0.00037366585500577085, 0.0),(61.24774499008887, 58.70099106136386),(0.09333083693087765, 0.0),(0.33624076638752165, 0.07701832230609723),(5.453986738445745, 3.3629613883587304),(0.5307943399053955, 0.66515344772656),(0.001772351522946914, -0.0),(0.7768506257141974, 0.9542953674570518),(0.00019044261945477746, -0.0),(0.00545434586404105, -0.0),(1.1002145210539005, 0.9765502624368452),(0.0006817838176900891, -0.0),(0.10745722339937745, 0.0),(2.4654408653524325, 3.568048495737695),(0.013042837431003162, 0.0),(9.312066400048375, 7.397763374983691),(7.088350556086562e-08, -0.0),(1.0245788609742006, 1.134004416448069),(0.30133708190094377, 0.0),(0.00012854463737724757, -0.0),(0.0002615312995887587, 0.0),(39.254726888974105, 41.995441317583676),(2.686622410032455e-05, -0.0),(0.02764706266205477, 0.0),(0.00034551949203715795, 0.0),(0.00010764444939925873, 0.0),(5.161458784434892, 7.285764252756585),(0.34082542003067234, 0.09107504249482011),(0.16082586135359103, 0.24682260822137897),(0.6666107864881343, 0.6353602652552525),(2.026457525192955e-12, -0.0),(15.772008826029186, 20.206695641395388),(0.20016433812571832, 0.14254557341098678),(0.0013561434238060803, 0.0),(0.00011560486717633016, 0.0),(57.16809499140419, 61.58676545386712),(0.001320097698090009, -0.0),(0.37204558608616123, 0.48205754465240297),(6.3196048945705625, 8.042789549761578),(0.031482254975452026, 0.0),(0.5248091130371046, 0.39608498757408667),(9.919759545464712e-12, 0.0),(0.09840921063369884, 0.034275964847977396),(7.246237302494164, 3.2097333480584487),(0.8070716460379912, 0.9814529260324577),(0.7298553222618462, 0.7585432567890358),(1.906937458494309, 2.3964610799432546),(0.14081814487183808, 0.023514201947164404),(19.31599883297431, 19.25982791162422),(2.8795698545790915e-05, -0.0),(13.913408086350923, 17.499027692809168),(0.021495367276074394, 0.0),(0.5676568951659308, 0.10114658277089784),(6.565142590067089, 7.135994919970775),(0.03579851474023705, 0.0),(0.6940628827131348, 0.7231083799329748),(29.774885172342994, 37.599143595756516),(1.1733876265422005, 1.537778847910263)]
x_coords = [p[0] for p in points]
y_coords = [p[1] for p in points]
x = np.linspace(min(x_coords), max(x_coords), num=100)
y = x
plt.figure(figsize=(10, 6))
plt.plot(x, y, label='y=x', color='red', linestyle='--')
plt.legend()
plt.scatter(x_coords, y_coords)
plt.xlabel('Expected Grid Value')
plt.ylabel('Gaussian Value')
plt.title('Expected Grid Value Versus Gaussian Value')
plt.grid(True)
plt.legend()
plt.show()