cxGeoPlotDefine - closes the current plot and passes it to the geometry buffer
#include <cx/Geometry.h> cxGeo cxGeoPlotDefine (float *start, float *end)
cxGeoPlotDefine returns a tag for the geometry object that may be used to reference it at a later time with cxGeoFocus. The function returns NULL in the event of an error; a description of the error can be obtained by immediately calling cxGeoPlotGetLastError.
This function closes the current plot and passes it to the geometry buffer. The position of the plot is defined to be at (start, end), where the coordinates of the plot are in screen coordinates (-1 to +1).
The appearance of the plot is set by all the calls to cxGeoPlot* and cxGeoPlotData* routines which are performed in between the call to cxGeoPlotBegin (which starts the plot) and cxGeoPlotDefine (which finishes it).
The source of the LineGraph module may be found in $EXPLORERHOME/src/LineGraph/linegraph.c on UNIX machines, and %EXPLORERHOME%\src\LineGraph\linegraph.c on NT machines. It illustrates the use of many of the cxGeoPlot* routines.