NAME

cxGeoPlotDataRemove - removes a set of x and y values from the current plot

C SPECIFICATION

#include <cx/Geometry.h>

cxErrorCode cxGeoPlotDataRemove(int id)

PARAMETERS

id
identifier for the dataset to be removed.

FUNCTION RETURN VALUE

cxGeoPlotDataAdd returns an error code, an enumerated integer with cx_err_none (zero) indicating success. Any other value indicates the absence of a prior call to cxGeoPlotBegin, or an attempt to remove a dataset which cannot be found in the current plot. A description of the error can be obtained by immediately calling cxGeoPlotGetLastError (3E).

DESCRIPTION

This function removes a set of x and y values from the current plot. Each set of values may be identified by a unique integer (returned from cxGeoPlotDataAdd when the dataset is added to the plot), which can be used to remove it.

SEE ALSO

cxGeoPlotDefine (3E), cxGeoPlotDataAdd (3E)

The source of the LineGraph module may be found at $EXPLORERHOME/src/LineGraph/linegraph.c (UNIX) and %EXPLORERHOME%\src\LineGraph\linegraph.c (NT). It illustrates the use of many of the cxGeoPlot* routines.


Last modified: Aug 04 14:55 1999
[
Documentation Home ]

© The Numerical Algorithms Group Ltd, Oxford UK. 1999