Lets say I want to plot a 2D contour, with a set of points that do not form a rectangle necessarily (a trapezoid for instance, or a quadrilateral element). the shape is defined through a set of points with coordinates (X,Y,Z), in which X and Y define the shape and Z defines the contour value.
How should I do it using a matplotlib module?