timml.plots.PlotTim.contour =========================== .. py:method:: timml.plots.PlotTim.contour(win, ngr=20, layers=0, levels=20, layout=True, labels=True, decimals=0, color=None, newfig=True, figsize=None, legend=True, **kwargs) Head contour plot. :param win: [xmin, xmax, ymin, ymax] :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 directions :type ngr: scalar, tuple or list :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 0) :param color: color of contour lines :type color: str or list of strings :param newfig: create new figure :type newfig: boolean (default True) :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: **cs** :rtype: list of contour sets for each contoured layer .. !! processed by numpydoc !!