Rendering functions to draw images, plots etc.
More...
Rendering functions to draw images, plots etc.
C Interface wrapper for drawing an array as a histogram.
- Parameters
-
[in] | wind | is the window handle |
[in] | X | is the data frequency af_array |
[in] | minval | is the value of the minimum data point of the array whose histogram(X ) is going to be rendered. |
[in] | maxval | is the value of the maximum data point of the array whose histogram(X ) is going to be rendered. |
[in] | props | is structure af_cell that has the properties that are used for the current rendering. |
- Returns
- AF_SUCCESS if rendering is successful, otherwise an appropriate error code is returned.
- Note
X
should be a vector.
C Interface wrapper for drawing an array as an image.
- Parameters
-
[in] | wind | is the window handle |
[in] | in | is an af_array |
[in] | props | is structure af_cell that has the properties that are used for the current rendering. |
- Returns
- AF_SUCCESS if rendering is successful, otherwise an appropriate error code is returned.
- Note
in
should be 2d array or 3d array with 3 channels.
C Interface wrapper for drawing an array as a plot.
- Parameters
-
[in] | wind | is the window handle |
[in] | X | is an af_array with the x-axis data points |
[in] | Y | is an af_array with the y-axis data points |
[in] | props | is structure af_cell that has the properties that are used for the current rendering. |
- Returns
- AF_SUCCESS if rendering is successful, otherwise an appropriate error code is returned.
- Note
X
and Y
should be vectors.