amep.plot#
Visualization#
The AMEP module amep.plot
contains methods to visualize and animate
simulations, observables, and analysis results. It is based on the Matplotlib
Python library. For a detailed customization of plots see also
https://matplotlib.org/stable/tutorials/introductory/customizing.html.
Functions
|
Add a colorbar to an existing plot. |
|
Add an inset plot to the existing plot (axis). |
Shortcut function to set amep plot defaults. |
|
|
Create a video from a trajectory. |
|
Adds the simulation box to the given axis. |
|
Add a line to the given axis. |
|
Create a video from frames generated by a make_frame function. |
|
Draws a box. |
|
Visualize a scalar field on a matplotlib axes object. |
|
Format the given axis(axes) of the plot. |
|
Generate a scalar mappable colormap. |
Shortcut function to revert to the matplotlib rcparams defaults. |
|
|
Create a new matplotlib.pyplot figure. |
|
Visualize particles as circles on a matplotlib axes object. |
|
Set the locations of major and minor ticks. |
|
Set the plot style. |
|
Replace the mathematical operators with corresponding LaTeX commands. |
|
Plots the Voronoi tessellations from a Voronoi object calculated with scipy function voronoi_plot_2d [1]_. |