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

  1. MS_PLUS

Plus sign

  1. MS_CROSS

Cross

  1. MS_SIMPLESTAR

Star

  1. MS_CIRCLE

Circle

  1. MS_RECTANGLE

Rectangle

  1. MS_DIAMOND

Diamond

  1. MS_TRIANGLE

Triangle

  1. MS_TRIANGLE1

Triangle turned 90 degrees

  1. MS_TRIANGLE2

Triangle turned 180 degrees

  1. MS_TRIANGLE3

Triangle turned 270 degrees

  1. MS_HOURGLASS

Hourglass (2 triangles)

  1. MS_HOURGLASS1

Hourglass turned 90 degrees

  1. MS_STAR

Star

  1. MS_CIRCLEDOT

Circle with dot

  1. MS_CIRCLEPLUS

Circle with Plus sign

  1. MS_CIRCLECROSS

Circle with cross

  1. MS_RECTDOT

Rectangle with dot

  1. MS_RECTPLUS

Rectangle with plus sign

  1. MS_RECTCROSS

Rectangle with cross

  1. MS_NULL

Invisible Marker

  1. 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).

id-751959