timflow.steady.plots.PlotSteady.vcontoursf1D#
- timflow.steady.plots.PlotSteady.vcontoursf1D(x1, x2, nx, levels, labels=False, decimals=0, color=None, nudge=1e-06, figsize=None, layout=True, ax=None, horizontal_axis: Literal['x', 'y', 's'] = 's')#
Contour plot in vertical cross-section of 1D model.
- Parameters:
x1 (scalar) – left edge of contour domain
x2 (scalar) – right edge of contour domain
nx (integer) – number of grid points along cross-section
levels (integer or array (default 20)) – levels that are contoured
labels (boolean (default True)) – print labels along contours
decimals (integer (default 0)) – number of decimals of labels along contours
color (str or list of strings) – color of contour lines
nudge (float) – first value is computed nudge from the specified x1 and x2
figsize (tuple of 2 values (default is mpl default)) – size of figure
layout (boolean) – plot layout if True
ax (matplotlib axis) – add plot to specified axis
horizontal_axis (str, optional) – ‘s’ for distance along cross-section on x-axis (default) ‘x’ for using x-coordinates on x-axis ‘y’ for using y-coordinates on x-axis
- Returns:
ax
- Return type:
axis