pyrfu.plot.plot_surf module#
- pyrfu.plot.plot_surf.plot_surf(axis, x, y, z, c, cmap, norm, cax_pos: str = 'bottom')[source]#
Plots surface.
- Parameters:
axis (matplotlib.axes._subplots.Axes3DSubplot) – Axis to plot.
x (ndarray) – X axis meshgrid.
y (ndarray) – Y axis meshgrid.
z (ndarray) – Z axis meshgrid.
c (ndarray) – C axis meshgrid.
cmap (matplotlib.colors.ListedColormap) – Colormap
norm (matplotlib.colors.Normalize) – Normalization.
cax_pos ({"bottom", "top", "left", "right"}, Optional) – Position of the colorbar with respect to the axis. Default is “bottom”.
- Returns:
axis (matplotlib.axes._subplots.Axes3DSubplot) – Axis with surface.
caxis (matplotlib.axes._axes.Axes) – Colorbar axis.