Cicode Programming Reference > Cicode Function Categories > Plot Functions Introduction > PlotClose

PlotClose

Displays the plot on screen or sends it to the printer (depending on the output device you specified in the PlotOpen() function), then closes the plot. Once the plot is closed, it cannot be used.

Syntax

PlotClose(hPlot)

hPlot:

The plot handle, returned from the PlotOpen() function. The plot handle identifies the table where all data on the plot is stored.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

PlotDraw, PlotGetMarker, PlotGrid, PlotInfo, PlotLine, PlotMarker, PlotOpen, PlotScaleMarker, PlotSetMarker, PlotText, PlotXYLine, TrnPlot

Example

See PlotOpen

See Also

Plot Functions