Subject | Hash | Author | Date (UTC) |
---|---|---|---|
mplot.mgraph: add outside line to tri_estimation_plot | de5fb9d7d6fe6fd930ec7541c82fd4cf2e7d5794 | Aleksei Gerasimov | 2021-11-25 14:13:35 |
mplot.mgraph: add tri_estimation_plot | eaaf410b48988c53ca31dee1203654dfef1adb06 | Aleksei Gerasimov | 2021-11-23 09:36:19 |
mplot.mgraph: do not use ax.sample_box | 94cee6efca47351093d49b5c801e410e1375a5c7 | Aleksei Gerasimov | 2021-11-16 17:12:08 |
testcases: sball testcase fix | 7878752fffa54bda772a5a6768bddbf05357ae73 | Aleksei Gerasimov | 2021-11-10 14:06:14 |
dicebox: replace tabs | afe3b91d0b1ee621f0e605a28b12405e15ce9a22 | I am | 2021-11-07 16:44:44 |
dicebox: prepare KickPointVoronoi | 9543e93d56d9724a91f1e2d443fdb8f4cbaf60e6 | Aleksei Gerasimov | 2021-11-04 14:13:23 |
dicebox: remove old FullSimpleX class. | d7e21f9fcaa3d037c35169695713a7bdc0f39cc3 | Aleksei Gerasimov | 2021-11-03 13:41:40 |
testcases: add testcases_nD module | f48a46042f77bcaa070cca367c5d93ba8d2d779d | I am | 2021-10-31 02:24:54 |
qt_gui: add add_random_points() method | 1c1819745a854889b6d3ae9e62e9735441523ec9 | I am | 2021-10-31 02:23:14 |
qt_gui: rearrange functions within qt_gui, add file menu | d267357cdbfe805db5ef358e6e1acb24c88b5638 | I am | 2021-10-30 21:02:17 |
whitebox: implement run_sample() | 576ca55be17e6f14500e70d97536e0b53a57f029 | I am | 2021-10-30 21:01:07 |
qt_gui: implement dicebox setup | 09a7074b12e46d0554b2c4f73b6a8b672d0b4428 | I am | 2021-10-30 15:12:33 |
schemes: small fix | 934b2269e5b08930e23fd67df07234251b123153 | I am | 2021-10-30 15:11:39 |
qt_gui: prepare setup Goal setup dialog | e53197a0b5d5a994dddbcbfb02042c5383f79ec7 | Aleksei Gerasimov | 2021-10-29 16:47:09 |
schemes: add conventional functions for tn schemes | 9a32048dc342604291f1b7d17efc71be755d3810 | Aleksei Gerasimov | 2021-10-29 16:45:24 |
reader: make Reader callable | 5cdd55d11ff846f9116fb0e00f54a7830ef3c276 | Aleksei Gerasimov | 2021-10-27 16:30:05 |
make WellMet standalone runnable | 1fe983d633d7194a64cf6928044082936790ce4d | Aleksei Gerasimov | 2021-10-27 16:21:51 |
qt_gui: prepare qt_box_functions module | c500fcd20e7b296262a0566d04aabb7bd1ae9cfa | Aleksei Gerasimov | 2021-10-25 15:39:56 |
shapeshare: keep empty file to reserve the name | b11f17e13dafc3d58db5ad9f101c0126e0bfd871 | Aleksei Gerasimov | 2021-10-21 14:48:03 |
delete sball_old :( | 792d9d83fde0f38e7396162788ec8aa922b0fd0c | Aleksei Gerasimov | 2021-10-21 14:47:06 |
File | Lines added | Lines deleted |
---|---|---|
mplot/mgraph.py | 5 | 1 |
File mplot/mgraph.py changed (mode: 100644) (index e6b67b9..b7b5004) | |||
... | ... | def trii_estimation_fill(ax, df): | |
54 | 54 | ||
55 | 55 | #č ok, tak uděláme všecko dohromady | #č ok, tak uděláme všecko dohromady |
56 | 56 | #č datarám, jako vždy, uživatel donese svůj vlastní | #č datarám, jako vždy, uživatel donese svůj vlastní |
57 | def tri_estimation_plot(ax, df, pf_exact=None, pf_exact_method="$p_f$"): | ||
57 | def tri_estimation_plot(ax, df, pf_exact=None, pf_exact_method="$p_f$", plot_outside=True): | ||
58 | 58 | # some default values | # some default values |
59 | 59 | # if not ax.get_xlabel(): | # if not ax.get_xlabel(): |
60 | 60 | # ax.set_xlabel('Number of simulations') | # ax.set_xlabel('Number of simulations') |
... | ... | def tri_estimation_plot(ax, df, pf_exact=None, pf_exact_method="$p_f$"): | |
68 | 68 | ax.axhline(pf_exact, c='b', label=pf_exact_method) | ax.axhline(pf_exact, c='b', label=pf_exact_method) |
69 | 69 | ||
70 | 70 | #č teď čáry | #č teď čáry |
71 | if plot_outside: | ||
72 | o = df['outside'].to_numpy() | ||
73 | ax.plot(df.index, o, '-', color="#AAAAAA", label="outside") | ||
74 | |||
71 | 75 | v = df['vertex_estimation'].to_numpy() | v = df['vertex_estimation'].to_numpy() |
72 | 76 | wv = df['weighted_vertex_estimation'].to_numpy() | wv = df['weighted_vertex_estimation'].to_numpy() |
73 | 77 | ax.plot(df.index, v, '-m', label="simple $p_f$ estimation") | ax.plot(df.index, v, '-m', label="simple $p_f$ estimation") |