OGLDeletePlot
int OGLDeletePlot (int panelHandle, int OGLControlId, int plotHandle, int refresh);
Purpose
Deletes one or all plots from an OGL control.
Parameters
| Input | ||
| Name | Type | Description |
| panelHandle | int | The specifier for a particular panel that is currently in memory. LoadPanel, NewPanel, or DuplicatePanel returns this handle. |
| OGLControlId | int | The ID of the control on which the plot is drawn. OGLNewCtrl or OGLConvertCtrl returns this ID. |
| plotHandle | int | The handle for the particular plot to delete. Pass –1 to delete all plots in the graph control. OGLPlot3DScatter or OGLPlot3DUniform returns this handle. |
| refresh | int | Specifies whether to refresh the control once the plot is deleted. Specify a nonzero value or select On in the function panel to refresh the control. Specify 0 or select Off in the function panel to disable refreshing. |
Return Value
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| status | int | Return value indicating whether the function was successful. A negative number indicates that an error occurred.Error Codes
|
Additional Information
Library: OpenGL 3D Plotting Control
Include file: custctrl\cviogl.h
LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later
