pyemma.plots.scatter_contour¶
-
pyemma.plots.
scatter_contour
(x, y, z, ncontours=50, colorbar=True, fig=None, ax=None, cmap=None, outfile=None)¶ Contour plot on scattered data (x,y,z) and plots the positions of the points (x,y) on top.
- Parameters
x (ndarray(T)) – x-coordinates
y (ndarray(T)) – y-coordinates
z (ndarray(T)) – z-coordinates
ncontours (int, optional, default=50) – number of contour levels
fig (matplotlib Figure object, optional, default=None) – the figure to plot into. When set to None the default Figure object will be used
ax (matplotlib Axes object, optional, default=None) – the axes to plot to. When set to None the default Axes object will be used.
cmap (matplotlib colormap, optional, default=None) – the color map to use. None will use pylab.cm.jet.
outfile (str, optional, default=None) – output file to write the figure to. When not given, the plot will be displayed
- Returns
ax
- Return type
Axes object containing the plot