timflow.transient.plots.PlotTransient.contour ============================================= .. py:method:: timflow.transient.plots.PlotTransient.contour(win, ngr=20, t=1, layers=0, levels=20, layout=True, labels=True, decimals=1, color=None, ax=None, figsize=None, legend=True) Contour plot. :param win: [x1, x2, y1, y2] :type win: list or tuple :param ngr: if scalar: number of grid points in x and y direction if tuple or list: nx, ny, number of grid points in x and y direction :type ngr: scalar, tuple or list :param t: time :type t: scalar :param layers: layers for which grid is returned :type layers: integer, list or array :param levels: levels that are contoured :type levels: integer or array (default 20) :param layout: plot layout of elements :type layout: boolean (default True_) :param labels: print labels along contours :type labels: boolean (default True) :param decimals: number of decimals of labels along contours :type decimals: integer (default 1) :param color: color of contour lines :type color: str or list of strings :param ax: axes to plot on, default is None which creates a new figure :type ax: matplotlib.Axes :param figsize: size of figure :type figsize: tuple of 2 values (default is mpl default) :param legend: add legend to figure if list of strings: use strings as names in legend :type legend: list or boolean (default True) :returns: **ax** -- axes with plot :rtype: matplotlib.Axes .. !! processed by numpydoc !!