PlotSetMarker
Registers a symbol as a marker. You can then draw the new marker at points and on plotted lines, by specifying the MarkerNo of the symbol as the MarkerStyle in the PlotMarker() function. Call the PlotGetMarker() function if you do not know the number of a marker.
Syntax
PlotSetMarker(MarkerNo, sSymbolName)
MarkerNo:
The number of the marker, to be used as the MarkerStyle in the PlotMarker() function. Your marker numbers need to be greater than or equal to 20 (to a maximum of 32000).
sSymbolName:
The name and path of the symbol to be defined as a marker.
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
PlotMarker, PlotScaleMarker, PlotGetMarker
Example
hPlot=PlotOpen(30,"Display",1);
..
/* Display red hourglass as marker at point (100,200). */
PlotSetMarker(20,"Global.Hourglass");
PlotMarker(hPlot,20,red,1,1,100,200);
..
PlotClose(hPlot);
See Also