plot_real_polar_field#
- plot_real_polar_field(field, phi_grid, r_grid, cmap='Oranges', figsize=(5, 5), savename=None, colorbar=True, axes=True, dpi=200, show_sector_lines=False, n_sectors=1, use_log=False, log_eps=1e-12)[source]#
Plot a real-valued polar field.
Returns
(fig, ax)so callers can add titles or further customize. The helper does not callplt.show(); callers own final layout/show. If savename is provided, the figure is saved and then closed.- Parameters:
field (ndarray[tuple[int, ...], dtype[complexfloating]])
phi_grid (ndarray[tuple[int, ...], dtype[float64]])
r_grid (ndarray[tuple[int, ...], dtype[float64]])
cmap (str)
figsize (tuple[float, float])
savename (str | None)
colorbar (bool)
axes (bool)
dpi (int)
show_sector_lines (bool)
n_sectors (int)
use_log (bool)
log_eps (float)
- Return type:
tuple[Figure, Axes]