The color of the markers in which (an ior of MARKER_* flags): [r, g,
b] (alpha unchanged) or [r, g, b, a].
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(MarkerArtist), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | which |
the markers (an ior of MARKER_* flags) |
||
| real(kind=wp), | intent(in) | :: | color(:) |
[r, g, b] or [r, g, b, a] (0 to 1) |
subroutine set_marker_color(self, which, color) class(MarkerArtist), intent(inout) :: self integer, intent(in) :: which !! the markers (an ior of MARKER_* flags) real(wp), intent(in) :: color(:) !! [r, g, b] or [r, g, b, a] (0 to 1) if (iand(which, MARKER_START) /= 0) call set_rgba(self%start_color, color) if (iand(which, MARKER_END) /= 0) call set_rgba(self%end_color, color) if (iand(which, MARKER_INTERMEDIATE) /= 0) call set_rgba(self%intermediate_color, color) call marker_style(self) end subroutine set_marker_color