MarkerSetFillColorΒΆ

MarkerSetFillColor sets the fill color of a marker symbol.

bool = MarkerSetFillColor(hMarker, rvColorRGB)
bool = MarkerSetFillColor(hMarker, rvColorARGB)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hMarker

Identifies the marker.

rvColorRGB

rvColorRGB is a vector with 3 elements that sets the symbol fill color.

Value Meaning
rvColorRGB[1] Red (0 to 255)
rvColorRGB[2] Green (0 to 255)
rvColorRGB[3] Blue (0 to 255)
rvColorARGB

rvColorARGB is a vector with 4 elements:

Value Meaning
rvColorARGB[1] Alpha: 0 = Transparent, 255 = Opaque
rvColorARGB[2] Red (0-255)
rvColorARGB[3] Green (0-255)
rvColorARGB[4] Blue (0-255)

History

Version Description
R2018.3 Transparency.

id-1929958