timml.plots.PlotTim.vcontoursf1D#
- timml.plots.PlotTim.vcontoursf1D(x1, x2, nx, levels, labels=False, decimals=0, color=None, nudge=1e-06, newfig=True, figsize=None, layout=True, ax=None)#
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
newfig (boolean (default True)) – create new figure. if False, ax must be supplied
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
- Returns:
ax
- Return type:
axis