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

Functions

Function Bar (N As Long, X() As Double, Height() As Double, Optional KwArgs As String) As PyObject
 Bar plot
 
Function Bar_str (N As Long, X() As String, Height() As Double, Optional KwArgs As String) As PyObject
 Bar plot (x-axis is string)
 
Sub Clabel (CS As PyObject, Optional KwArgs As String)
 Adds labels to line contours
 
Function Colorbar (Mappable As PyObject, Optional Cax As PyObject, Optional Ax As PyObject, Optional KwArgs As String="") As PyObject
 Add colorbar to plot
 
Function Contour (M As Long, N As Long, X() As Double, Y() As Double, Z(,) As Double, Levels() As Double, Optional KwArgs As String) As PyObject
 Contour lines
 
Function Contourf (M As Long, N As Long, X() As Double, Y() As Double, Z() As Double, Levels() As Double, Optional KwArgs As String) As PyObject
 Filled contours
 
Function Figure (Optional KwArgs As String) As Figure
 Create new figure or activate existing figure
 
Function Fill (N As Long, X() As Double, Y() As Double, Optional KwArgs As String) As PyObject
 Plot filled polygons
 
Function Gca () As Axs
 Get current Axs
 
Function Gcf () As Figure
 Get the current figure
 
Sub Get_xlim (Left As Double, Right As Double)
 Get the x limits of the current axes
 
Sub Get_ylim (Bottom As Double, Top As Double)
 Get the y limits of the current axes
 
Sub Grid (Optional KwArgs As String)
 Configure the grid lines
 
Function Plot (N As Long, X() As Double, Y() As Double, Optional Fmt As String, Optional KwArgs As String) As PyObject
 XY plot
 
Function Quiver (Nx As Long, Ny As Long, X() As Double, Y() As Double, U() As Double, V() As Double, C() As Long, Optional KwArgs As String) As PyObject
 2D field of arrows
 
Function Quiver1 (Nx As Long, Ny As Long, X() As Double, Y() As Double, U() As Double, V() As Double, C() As Long, Optional KwArgs As String) As PyObject
 2D field of arrows (coordinate grid)
 
Function Scatter (N As Long, X() As Double, Y() As Double, S() As Double, C() As Long, Optional KwArgs As String) As PyObject
 Scatter plot
 
Function Set_xlim (Left As Double, Right As Double, Optional KwArgs As String) As PyObject
 Set x limits of current axes
 
Function Set_ylim (Bottom As Double, Top As Double, Optional KwArgs As String) As PyObject
 Set y limits of current axes
 
Sub Show (Optional KwArgs As String)
 Display all open figures
 
Function Spy (M As Long, N As Long, A() As Double, Optional KwArgs As String) As PyObject
 Sparsity pattern of 2D array
 
Function Spy_Csc (M As Long, N As Long, Nnz As Long, Val() As Double, Colptr() As Long, Rowind() As Long, Optional KwArgs As String) As PyObject
 Sparsity pattern of the array in CSC format
 
Function Spy_Csr (M As Long, N As Long, Nnz As Long, Val() As Double, Rowptr() As Long, Colind() As Long, Optional KwArgs As String) As PyObject
 Sparsity pattern of the array in CSR format
 
Function Streamplot (Nx As Long, Ny As Long, X() As Double, Y() As Double, U() As Double, V() As Double, Optional KwArgs As String) As PyObject
 Streamlines
 
Function Streamplot1 (Nx As Long, Ny As Long, X() As Double, Y() As Double, U() As Double, V() As Double, Optional KwArgs As String) As PyObject
 Streamlines (coordinate grid)
 
Function Subplot (Nrows As Long, Ncols As Long, Index As Long, Optional KwArgs As String) As PyObject
 Add subplot to current figure
 
Function Suptitle (Text As String, Optional KwArgs As String) As PyObject
 Add title to figure
 
Function Text (X As Double, Y As Double, S As String, Optional KwArgs As String) As PyObject
 Draw text
 
Function Title (Text As String, Optional KwArgs As String) As PyObject
 Set title for Axs
 
Function Tricontour (N As Long, X() As Double, Y() As Double, Z() As Double, Levels() As Double, Optional KwArgs As String) As PyObject
 Contour lines on unstructured triangular grid
 
Function Tricontourf (N As Long, X() As Double, Y() As Double, Z() As Double, Levels() As Double, Optional KwArgs As String) As PyObject
 Contour regions on unstructured triangular grid
 
Function Tripcolor (N As Long, X() As Double, Y() As Double, C() As Double, Optional KwArgs As String) As PyObject
 Pseudocolor plot of unstructured triangular grid
 
Function Triplot (N As Long, X() As Double, Y() As Double, Optional KwArgs As String) As PyObject
 Draw unstructured triangular grid
 
Sub Xlabel (Label As String, Optional KwArgs As String)
 Set label for x-axis
 
Sub Ylabel (Label As String, Optional KwArgs As String)
 Set label for y-axis
 

Detailed Description

State-based interface to Matplotlib. It provides an implicit, MATLAB-like, way of plotting. It also opens figures on your screen, and acts as the figure GUI manager.