Subject | Hash | Author | Date (UTC) |
---|---|---|---|
mplot.maxes: aspoň nějak nastavit popísky os | 50e8e467c24d73d9522166183275deab547243f8 | I am | 2022-01-06 16:16:36 |
mplot.maxes: add labels to candidates plot | f8aa0f271a8d30cb7d79206290409f862c406a51 | I am | 2022-01-06 12:14:48 |
mplot.maxes: add candidates sampling (rejection-like) plot | 5a15e10a9a462dd409e0627528bcb8910df77c7e | I am | 2022-01-06 09:40:38 |
mplot.maxes: add candidates plot | 11e156edc351ca84fde742edf7ea1d85c3b0bc38 | I am | 2022-01-06 08:15:43 |
mplot.maxes: polish tri plots a little bit | 9a4e0a18061e2d9f48c0c32c200bd1a408ceb77f | I am | 2022-01-05 13:15:00 |
mplot.mart: add plot_points() function | 2c799e22d9f45b825a7f8a795ce6b9fe5fbd9c76 | I am | 2022-01-05 13:14:12 |
mplot.maxes: add convergence diagrams | 813b1e8e9dd9d1e51951c51234910cdf2281cde8 | I am | 2022-01-05 09:07:18 |
mplot.mgraph: hračky s legendou | 198cc40947d48b2a3cde990254def7d57c1535a6 | I am | 2022-01-05 09:04:23 |
mplot: apply default settings to figures | 765d830e0230b3d85f079eb26c6eddfdb624b859 | I am | 2022-01-05 09:03:15 |
simplex: try garbage collection | 45148d2665eea195c05de5852b15485d83cb7223 | I am | 2022-01-05 06:10:46 |
testcases: add Gaussian Z_min testcase | 50bc3f27365e60db67f100c89ebc49b52e948645 | I am | 2022-01-04 13:55:59 |
whitebox: add Gaussian Z_min whitebox | e989c87895d681920056558a0b9473b93c3b299b | I am | 2022-01-04 13:54:37 |
schemes: přídat pár komentářů k schematům | e8f1665d43cfb70e89716f591852538df0e27d8c | I am | 2022-01-04 09:00:36 |
mplot.maxes: tri_nodes_plot is almost ready. Zbyvá to udělat hezky | 251a0f4b7909a5468453cfb518c2bbb4064cce51 | I am | 2022-01-04 06:42:36 |
mplot.maxes: add complete tri plots | 08c6e421188c4251cae1aa664a69bdc3a0afb314 | I am | 2022-01-04 05:45:21 |
mplot.mart: add tri_plot() function | aace2f9d02b7744651a089c164af9b7b5824729e | I am | 2022-01-04 05:44:14 |
simplex: fix use before initialization | ff8be3dcc679c4893948d7d1dc6c45402ccee81b | I am | 2022-01-04 05:43:17 |
mplot.maxes: prepare convex_hull_plot() function | 732f16a441c1a5f1160b45d91a050683ee70ff5d | I am | 2022-01-03 15:26:59 |
mplot.mart: comment out old convex plot function, prepare qhull_plot instead | 59de205056903adf87f84c5c1b022c3c83fa9c57 | I am | 2022-01-03 15:24:30 |
mplot.mgraph: prepare orth graph routines | 74e30ed99fcc6e68c6b3bf7e55bbd93fe8f26d13 | I am | 2022-01-02 11:18:11 |
File | Lines added | Lines deleted |
---|---|---|
mplot/maxes.py | 14 | 0 |
File mplot/maxes.py changed (mode: 100644) (index bbb015e..19bbfb1) | |||
... | ... | __all__ = [ | |
34 | 34 | ] | ] |
35 | 35 | ||
36 | 36 | ||
37 | def _setup_labels(ax): | ||
38 | if ax.space in ('P', 'aP', 'U', 'aU'): | ||
39 | ax.set_xlabel("$x_1$") | ||
40 | ax.set_ylabel("$x_2$") | ||
41 | else: | ||
42 | ax.text(1, -0.5, '$x_1$', ha='center',va='top', transform=ax.get_yaxis_transform()) | ||
43 | ax.text(-0.5, 1, '$x_2~$', ha='right',va='top', transform=ax.get_xaxis_transform()) | ||
44 | |||
45 | |||
37 | 46 | def candidates_sampling_plot(ax, linewidths=[0.7, 0.5, 0.4, 0.3, 0.2, 0.1]): | def candidates_sampling_plot(ax, linewidths=[0.7, 0.5, 0.4, 0.3, 0.2, 0.1]): |
38 | 47 | from .. import simplex as six | from .. import simplex as six |
39 | 48 | from .. import estimation as stm | from .. import estimation as stm |
... | ... | def tri_nodes_plot(ax, tri_space=None, tn_scheme=None,\ | |
161 | 170 | ||
162 | 171 | mart.plot_points(ax, ms=2.5, zorder=100500) | mart.plot_points(ax, ms=2.5, zorder=100500) |
163 | 172 | mart.plot_boundaries(ax, lw=0.7, zorder=1050) | mart.plot_boundaries(ax, lw=0.7, zorder=1050) |
173 | _setup_labels(ax) | ||
164 | 174 | ||
165 | 175 | def tri_R_nodes_plot(ax, **kwargs): | def tri_R_nodes_plot(ax, **kwargs): |
166 | 176 | tri_nodes_plot(ax, tri_space='R', **kwargs) | tri_nodes_plot(ax, tri_space='R', **kwargs) |
... | ... | def tri_plot(ax, tri_space=None, linewidths=[0.7, 0.5, 0.4, 0.3, 0.2, 0.1]): | |
193 | 203 | ||
194 | 204 | mart.plot_points(ax, ms=2.5, zorder=100500) | mart.plot_points(ax, ms=2.5, zorder=100500) |
195 | 205 | mart.plot_boundaries(ax, lw=0.7, zorder=1050) | mart.plot_boundaries(ax, lw=0.7, zorder=1050) |
206 | _setup_labels(ax) | ||
207 | |||
208 | |||
196 | 209 | ||
197 | 210 | def tri_R_plot(ax, **kwargs): | def tri_R_plot(ax, **kwargs): |
198 | 211 | tri_plot(ax, tri_space='R', **kwargs) | tri_plot(ax, tri_space='R', **kwargs) |
... | ... | def convex_hull_plot(ax, tri_space=None, linewidths=[0.7, 0.5, 0.4, 0.3, 0.2, 0. | |
214 | 227 | mart.qhull_plot(ax, qhull, color="#B2B2B2", lw=0.7, zorder=100) | mart.qhull_plot(ax, qhull, color="#B2B2B2", lw=0.7, zorder=100) |
215 | 228 | mart.plot_points(ax, ms=2.5, zorder=100500) | mart.plot_points(ax, ms=2.5, zorder=100500) |
216 | 229 | mart.plot_boundaries(ax, lw=0.7, zorder=1050) | mart.plot_boundaries(ax, lw=0.7, zorder=1050) |
230 | _setup_labels(ax) | ||
217 | 231 | ||
218 | 232 | def just_points(ax): | def just_points(ax): |
219 | 233 | ax.set_xlabel('$x_{1}$') | ax.set_xlabel('$x_{1}$') |