marker
Select a new marker for mark and pmark
Call signature:
marker(shape=None, size=None, fill=None)
Help text:
marker(shape, size, fill) selects a marker.
All arguments are optional.
shape must be one of + x - | o s d < > ^ v p h; see below.
size is specified in points.
fill is one of open|solid|brush|spine:
openThe mark is filled with white
solidThe mark is filled with the current pen's color
brushThe mark is filled with the current brush's color
spineDraws lines from the center to the vertices of the chosen shape instead of drawing the shape.
The mark is always outlined with the current pen (which may be 'none', of course).
Marks are:
o : circle/disk
+ x : upright or diagonal crosses
- | : horizontal or vertical lines
s d p h : square, diamond, pentagon, or hexagon
< > ^ v : left / right / up / down pointing triangles
The fill style has no effect on + x - | marks.
Example:

import qplot as qp

import numpy as np

qp.figure('marker', 3, 3)

sty = [ 'open', 'solid', 'brush', 'spine' ]

shp = '+x-|osd<>^vph'

qp.pen('k')

qp.brush('r')

for x in range(len(shp)):

        for y in range(len(sty)):

                qp.marker(shp[x], fill=sty[y])

                qp.mark(x, y)

qp.ylim(-3, 6)