XLPack for Matplotlib Experimental Version 0.1
Reference Manual
Loading...
Searching...
No Matches
Functions
Axs 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 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 Fill (N As Long, X() As Double, Y() As Double, Optional KwArgs As String) As PyObject
 Plot filled polygons
 
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
 
Sub Set_aspect (Aspect As Double, Optional KwArgs As String)
 Set aspect ratio for x and y axes
 
Function Set_title (Title As String, Optional KwArgs As String) As PyObject
 Set title
 
Sub Set_xlabel (Label As String, Optional KwArgs As String)
 Set label for x-axis
 
Function Set_xlim (Left As Double, Right As Double, Optional KwArgs As String) As PyObject
 Set x-axis view limits
 
Sub Set_ylabel (Label As String, Optional KwArgs As String)
 Set label for y-axis
 
Function Set_ylim (Bottom As Double, Top As Double, Optional KwArgs As String) As PyObject
 Set y-axis view limits
 
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 Text (X As Double, Y As Double, S As String, Optional TransAxes=False, Optional KwArgs As String) As PyObject
 Draw text
 
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
 

Detailed Description

The Axs class (Axes class in Python) represents one (sub-)plot in a figure. It contains the plotted data, axis ticks, labels, title, legend, etc. Its methods are the main interface for manipulating the plot.