Subject | Hash | Author | Date (UTC) |
---|---|---|---|
mplot.figs: add double and triple triangulations plots | 091361cc326239b552078c489f9f164ccda4f54b | I am | 2022-01-06 16:17:50 |
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 |
File | Lines added | Lines deleted |
---|---|---|
mplot/mfigs.py | 42 | 1 |
File mplot/mfigs.py changed (mode: 100644) (index ceda26f..fa50a45) | |||
9 | 9 | from . import maxes | from . import maxes |
10 | 10 | from . import maxes3d | from . import maxes3d |
11 | 11 | ||
12 | __all__ = ['qhull_under_density', 'plane_under_density', 'dhull_vs_complete'] | ||
12 | __all__ = [ | ||
13 | 'double_tri_R_plot', 'triple_plot', | ||
14 | 'qhull_under_density', 'plane_under_density', 'dhull_vs_complete' | ||
15 | ] | ||
16 | |||
17 | |||
18 | def double_tri_R_plot(fig, sample_box, space): | ||
19 | ax1 = ax = fig.add_subplot(121) | ||
20 | ax.sample_box = sample_box | ||
21 | ax.space = 'R' | ||
22 | try: | ||
23 | tn_scheme = sample_box.Tri.tn_scheme | ||
24 | except: | ||
25 | import quadpy | ||
26 | tn_scheme = quadpy.tn.grundmann_moeller(sample_box.nvar, 5) | ||
27 | |||
28 | maxes.tri_nodes_plot(ax, tri_space='R', tn_scheme=tn_scheme) | ||
29 | ax = fig.add_subplot(122) | ||
30 | ax.sample_box = sample_box | ||
31 | ax.space = 'G' | ||
32 | maxes.tri_nodes_plot(ax, tri_space='R', tn_scheme=tn_scheme) | ||
33 | ax.sharey(ax1) | ||
34 | |||
35 | def triple_plot(fig, sample_box, space): | ||
36 | fig.set_figwidth(19/2.54) | ||
37 | ax = fig.add_subplot(131) | ||
38 | ax.sample_box = sample_box[0:100] | ||
39 | ax.space = space | ||
40 | try: | ||
41 | tn_scheme = sample_box.Tri.tn_scheme | ||
42 | except: | ||
43 | import quadpy | ||
44 | tn_scheme = quadpy.tn.grundmann_moeller(sample_box.nvar, 5) | ||
45 | maxes.tri_nodes_plot(ax, tri_space=None, tn_scheme=tn_scheme) | ||
46 | ax = fig.add_subplot(132) | ||
47 | ax.sample_box = sample_box[0:200] | ||
48 | ax.space = space | ||
49 | maxes.tri_plot(ax) | ||
50 | ax = fig.add_subplot(133) | ||
51 | ax.sample_box = sample_box | ||
52 | ax.space = space | ||
53 | maxes.convex_hull_plot(ax) | ||
13 | 54 | ||
14 | 55 | def qhull_under_density(fig, sample_box, space): | def qhull_under_density(fig, sample_box, space): |
15 | 56 | from . import _axis3d_margins_patch, _axes3d | from . import _axis3d_margins_patch, _axes3d |