XLPack for Matplotlib Experimental Version 0.1
Reference Manual
Loading...
Searching...
No Matches

◆ Contourf()

Function Contourf ( M As  Long,
N As  Long,
X() As  Double,
Y() As  Double,
Z() As  Double,
Levels() As  Double,
Optional KwArgs As  String 
)

Filled contours

Purpose
Plot filled contours.
Returns
PyObject (QuadContourSet).
A set of contour lines.
(On error, Nothing is returned)
Parameters
[in]MNumber of rows (number of y-axis data). (M > 0)
[in]NNumber of columns (number of x-axis data). (N > 0)
[in]X()Array X(LX - 1) (LX >= N)
x-axis data.
[in]Y()Array Y(LY - 1) (LY >= M)
y-axis data.
[in]Z()Array Z(LZ1 - 1, LZ2- 1) (LZ1 >= M, LZ2 >= N)
The height values over which the contour is drawn.
[in]Levels()Array Levels(LLevels - 1) (LLevels >= 0)
Determines the number and positions of the contour lines / regions.
If LLevels = 1, tries to automatically choose no more than n+1 "nice" contour levels between minimum and maximum numeric values of Z, where n = Int(Levels(0)) > 0.
If LLevels > 1, draw contour lines at the specified levels. The values must be in increasing order.
[in]KwArgs(Optional)
Optional keyword parameters. (default = "")
Example
Plot filled contours.