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

◆ Contour()

Function Contour ( M As  Long,
N As  Long,
X() As  Double,
Y() As  Double,
Z() As  Double,
Levels() As  Double,
Optional Extended3d As  Boolean,
Optional Stride As  Long,
Optional Zdir As  String,
Optional Offset As  Double,
Optional Axlim_clip As  Boolean,
Optional KwArgs As  String 
)

Contour lines

Purpose
Plot contour lines in 3D coordinate.
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(LX1 - 1, LX2 - 1) (LX1 >= M, LX2 >= N)
x-axis data.
[in]Y()Array Y(LY1 - 1, LY2 - 1) (LY1 >= M, LY2 >= N)
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 > 0, draw contour lines at the specified levels. The values must be in increasing order.
[in]Extended3d(Optional)
Whether to extend contour in 3D. (default = False)
[in]Stride(Optional)
Step size for extending contour. (default = 5)
[in]Zdir(Optional)
The direction to use ("x", "y" or "z"). (default = "z")
[in]Offset(Optional)
If specified, plot a projection of the contour lines at this position in a plane normal to Zdir.
[in]Axlim_clip(Optional)
Whether to hide lines with a vertex outside the axes view limits. (default = False)
[in]KwArgs(Optional)
Optional keyword parameters. (default = "")
Example
Plot contour lines on x-y, y-z and z-x planes.