control.phaseplot.meshgrid

control.phaseplot.meshgrid(xvals, yvals)[source]

Generate list of points forming a mesh.

points = meshgrid(xvals, yvals) generates a list of points that corresponds to a grid given by the cross product of the x and y values.

Parameters
xvals, yvals1D array_like

Array of points defining the points on the lower and left edges of the box.

Returns
grid2D array

Array of points with shape (n * m, 2) defining the mesh.