qit.plot.pcolor

qit.plot.pcolor(ax, W, x, y, clim=(0, 1), cmap=None)

Easy pseudocolor plot.

Plots the 2D function given in the matrix W.

Parameters
  • ax (Axes) – axes where to plot the stuff

  • W (array[float]) – discretized 2D function to be plotted

  • x (array[float]) – quad midpoint coordinate vectors that define the coordinate grid

  • y (array[float]) – quad midpoint coordinate vectors that define the coordinate grid

  • clim (tuple[float]) – 2-tuple defining the color limits

Returns

the plot

Return type

Axes