flatspin.plotting

Module Contents

Functions

quadrilaterals(X)

format_label(label, format_spec='{:g}')

format_labels(labels, format_spec='{:g}')

heatmap2(X, Y, Z, xlabel='x', ylabel='y', zlabel='z', xlabels=None, ylabels=None, **kwargs)

heatmap(X, Y, Z, xlabel='x', ylabel='y', zlabel='z', xlim=None, ylim=None, zlim=None, nticks=10, xlabel_format='{:g}', ylabel_format='{:g}', **kwargs)

vector_colors(U, V)

mask_zero_vectors(UV)

plot_vectors(XY, UV, C=None, arrows=True, relim=True, mask_zero=True, replace=False, **kwargs)

plot_vector_image(XY, UV, mask_zero=True, replace=False, cmap='hsv')

montage_fig(n_axes, title=False)

Create a figure with n_axes subplots on a grid

vector_montage(axes, positions, vectors, labels=None, arrows=False, **kwargs)

save_animation(ani, outfile, fps)

Attributes

normalize_rad

clist

clist

clist

clist

clist

cmap

flatspin.plotting.normalize_rad
flatspin.plotting.clist
flatspin.plotting.clist
flatspin.plotting.clist
flatspin.plotting.clist
flatspin.plotting.clist
flatspin.plotting.cmap
flatspin.plotting.quadrilaterals(X)
flatspin.plotting.format_label(label, format_spec='{:g}')
flatspin.plotting.format_labels(labels, format_spec='{:g}')
flatspin.plotting.heatmap2(X, Y, Z, xlabel='x', ylabel='y', zlabel='z', xlabels=None, ylabels=None, **kwargs)
flatspin.plotting.heatmap(X, Y, Z, xlabel='x', ylabel='y', zlabel='z', xlim=None, ylim=None, zlim=None, nticks=10, xlabel_format='{:g}', ylabel_format='{:g}', **kwargs)
flatspin.plotting.vector_colors(U, V)
flatspin.plotting.mask_zero_vectors(UV)
flatspin.plotting.plot_vectors(XY, UV, C=None, arrows=True, relim=True, mask_zero=True, replace=False, **kwargs)
flatspin.plotting.plot_vector_image(XY, UV, mask_zero=True, replace=False, cmap='hsv')
flatspin.plotting.montage_fig(n_axes, title=False)

Create a figure with n_axes subplots on a grid

flatspin.plotting.vector_montage(axes, positions, vectors, labels=None, arrows=False, **kwargs)
flatspin.plotting.save_animation(ani, outfile, fps)