opmcoils.panels.plot_field_colormap#
- opmcoils.panels.plot_field_colormap(field, grid, axis, ax=None, colorbar=True, vmin=None, vmax=None)[source]#
Plot colormap of one field axis along an x-z plane between panels.
- Parameters:
- fieldarray of 3D points
x,y,z field values to be plotted
- gridarray of floats
values of distances to used to get target point grid.
- axisstring (‘x’, ‘y’, or ‘z’)
what field component to plot
- axmatplotlib element
matplotlib subplot to use. If none, a new one is created.
- colorbarbool
whether to show a colorbar.