Appendix E. Available plot marks

Table of Contents

E.1. Built in basic plot marks
E.2. Built in image plot marks
E.2.1. Image plot mark: Balls
E.2.2. Image plot mark: Squares
E.2.3. Image plot mark: Diamonds
E.2.4. Image plot mark: Stars
E.2.5. Image plot mark: Bevels
E.2.6. Image plot mark: Pushpins

Plot marks can be added to almost all linear (cartesian) graph types. They are used to emphasise the actual data points in the graph. The plot mark property is available as the instance variable "$mark" for the plot types that support plot marks.

Built in basic plot marks

To embellishment a line plot with one of the built-in basic plot marks, say a a red diamond mark, at each data point the following line has to be added to the graph script

1
2
3
4
<?php
$lineplot->mark->SetType(MARK_DIAMOND);
$lineplot->mark->SetFillColor('red');
?>

The rest of the basic plot marks are handled analogues.

Table E.1. Built in line based plot marks

Displayed plot markSymbolic name

MARK_SQUARE

MARK_UTRIANGLE

MARK_DTRIANGLE

MARK_DIAMOND

MARK_CIRCLE

MARK_FILLEDCIRCLE

MARK_CROSS

MARK_STAR

MARK_X

MARK_LEFTTRIANGLE

MARK_RIGHTTRIANGLE

MARK_FLASH