MarkerCreateΒΆ
Creates a symbol to mark data points of a dataset.
- hMarker = MarkerCreate()
- hMarker = MarkerCreate(hMarkerOther)
- hMarker = MarkerCreate(nStyle, rsSize, rvEdgeColorRGB, rvFillColorRGB, rsEdgeWidth)
Return Value
hMarker is the handle of the marker symbol.
Parameters
- nStyle
nStyle is one of the following values:
Value
Meaning
MS_PLUS
Plus sign
MS_CROSS
Cross
MS_SIMPLESTAR
Star
MS_CIRCLE
Circle
MS_RECTANGLE
Rectangle
MS_DIAMOND
Diamond
MS_TRIANGLE
Triangle
MS_TRIANGLE1
Triangle turned 90 degrees
MS_TRIANGLE2
Triangle turned 180 degrees
MS_TRIANGLE3
Triangle turned 270 degrees
MS_HOURGLASS
Hourglass (2 triangles)
MS_HOURGLASS1
Hourglass turned 90 degrees
MS_STAR
Star
MS_CIRCLEDOT
Circle with dot
MS_CIRCLEPLUS
Circle with Plus sign
MS_CIRCLECROSS
Circle with cross
MS_RECTDOT
Rectangle with dot
MS_RECTPLUS
Rectangle with plus sign
MS_RECTCROSS
Rectangle with cross
MS_NULL
Invisible Marker
MS_DOT
Smallest plotable point
- rsSize
rsSize is the size of the symbol in centimeters.
- rvEdgeColorRGB
rvEdgeColorRGB is a vector with 3 elements that sets the the symbol edge color:
Value
Meaning
rvEdgeColorRGB[1]
Red (0 to 255)
rvEdgeColorRGB[2]
Green (0 to 255)
rvEdgeColorRGB[3]
Blue (0 to 255)
- rvFillColorRGB
rvFillColorRGB is a vector with 3 elements that sets the the symbol fill color:
Value
Meaning
rvFillColorRGB[1]
Red (0 to 255)
rvFillColorRGB[2]
Green (0 to 255)
rvFillColorRGB[3]
Blue (0 to 255)
- rsEdgeWidth
rsEdgeWidth is the edge width of the symbol in steps of 0.1 mm.
History
Version |
Description |
---|---|
4.2.7 |
Function can be invoked with one parameter (copy constructor). |
See also
Overview Marker, MarkerDestroy, XYSetMarker, XYZSetMarker, ObjCopy
id-751959