DiFfRG.plot#
Attributes#
Functions#
|
|
|
Delaunay-triangulate (x, y) in the coordinates the plot actually shows. |
|
Module Contents#
- DiFfRG.plot.cmap1#
- DiFfRG.plot.cmap2#
- DiFfRG.plot.palette1#
- DiFfRG.plot.palette2#
- DiFfRG.plot.palette3#
- DiFfRG.plot.clear_fig()#
- DiFfRG.plot.plot_1D(datasets, xlabel=None, ylabel=None, ylim=None, xlim=None, log_x=False, log_y=False, file=None, modifiers=None, legend_loc='lower left', grid=False, force_legend=False, figsize=(6, 4), axstyle='normal')#
- DiFfRG.plot.scaled_triangulation(x, y, log_x=False, log_y=False)#
Delaunay-triangulate (x, y) in the coordinates the plot actually shows.
A Delaunay triangulation of the raw coordinates degenerates into sliver triangles whenever the two axes span very different ranges, which shows up as jagged, streaky structure in the plot. Rescaling both axes to unit range (in log space for logarithmic axes) first avoids this; the connectivity found there is then used with the original coordinates.
- DiFfRG.plot.plot_2D(data, cmap=cmap2, xlabel=None, ylabel=None, zlabel=None, ylim=None, xlim=None, zlim=None, log_x=False, log_y=False, log_z=False, file=None, modifiers=None, grid=False, style='triplot', angle_3d=(30, 30), aspect=None, figsize=(6, 4), axstyle='normal', levels=10)#