xmark
Marks with horizontal collision avoidance
Call signature:
xmark(xx, yy, rx, ry=None)
Help text:
xmark(xx, yy, rx, ry) tries to draw marks at (xx, yy), but displaces marks horizontally in steps of rx points to avoid collision within a circle with radius rx. (If ry is given, an ellipse with radii rx and ry is avoided.)
See also mark and ymark.
Example:

import qplot as qp

import numpy as np

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

qp.marker('o', fill='solid')

for x in range(3):

        yy = np.random.randn(30) + x

        qp.xmark(x + np.zeros_like(yy), yy, rx=6)