Matrix Interface: Surface plot of 2D data. |
- Parameters:
-
[in] | X | 2D matrix with which to draw simple surface plot |
|
handle | plot3d (const af::array &X) |
Matrix Interface: Visualize 2D velocity field with an array of arrows |
- Parameters:
-
[in] | X | matrix containing horizontal base positions for arrows |
[in] | Y | matrix containing vertical base positions for arrows |
[in] | U | matrix containing horizontal velocity components |
[in] | V | matrix containing vertical velocity components |
|
handle | arrows (const af::array &X, const af::array &Y, const af::array &U, const af::array &V) |
Matrix Interface: Visualize 1D data as a line plot |
- Parameters:
-
[in] | X | matrix containing data to be visualized |
[in] | linestyle | optional string indicating desired characteristics of plot |
|
handle | plot (const af::array &X) |
handle | plot (const af::array &X, const char *linestyle) |
Matrix Interface: Visualize 2D data as a line plot |
- Parameters:
-
[in] | X | matrix containing horizontal data to be visualized |
[in] | Y | matrix containing vertical data to be visualized |
[in] | linestyle | optional string indicating desired characteristics of plot |
|
handle | plot (const array &X, const array &Y) |
handle | plot (const array &X, const array &Y, const char *linestyle) |
Matrix Interface: Visualize 3D data as scatter plot |
- Parameters:
-
[in] | X | matrix containing X data to be visualized |
[in] | Y | matrix containing Y data to be visualized |
[in] | Z | matrix containing Z data to be visualized |
|
handle | points (const af::array &X, const af::array &Y, const af::array &Z) |
Matrix Interface: Visualize 3D data volume |
- Parameters:
-
[in] | X | 3D array to be volume rendered |
|
handle | volume (const af::array &X) |
Matrix Interface: Visualize 2D data as single scale image |
- Parameters:
-
[in] | X | 2D matrix to be visualized |
|
handle | imgplot (const af::array &X) |
Matrix Interface: Visualize 2D data as color image |
- Parameters:
-
[in] | X | 3D matrix to be visualized in the following format,
- X(span,span,0) - Red component
- X(span,span,1) - Blue component
- X(span,span,2) - Green component
|
|
handle | rgbplot (const af::array &X) |
Enable graphics overlay plotting for composition of plots on same axis |
afError | keep_on () |
Disable graphics overlay plotting for composition of plots on same axis |
afError | keep_off () |
Create a subplot within the figure window for compositions of plots |
- Parameters:
-
[in] | w | Horizontal number of subfigures |
[in] | h | Vertical number of subfigures |
[in] | idx | Index of subfigure to activate |
|
afError | subfigure (unsigned w, unsigned h, unsigned idx) |
Set global color palette |
- Parameters:
-
[in] | map | String indicating the colormap to be used. May be any of the following,
- colors
- orange
- gray
- blue
- brown
- pink
- white
- sixteenbit
- heatmap
- magento
|
|
afError | palette (const char *map) |
Clear the current figure |
afError | clearfig () |
Force drawing of the current figure (blocking) |
afError | draw () |
Display a figure window |
handle | figure () |
Set the title of the current figure or subfigure |
- Parameters:
-
[in] | str | C string representing the title of the figure or subfigure |
|
handle | title (const char *str) |
Display the current figure with given geometry |
- Parameters:
-
[in] | x | The horizontal position of the upper left corner of the figure |
[in] | y | The vertical position of the upper left corner of the figure |
[in] | w | The width of the figure |
[in] | h | The height of the figure |
|
handle | figure (int x, int y, int w, int h) |
Forcibly close the current figure |
afError | close () |