Alphabetical list Categories
xmark Like mark, but 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 an ellipse with radii rx and ry. (Leaving out ry uses a circle with radius rx.)

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)

QPlot Documentation — (C) Daniel Wagenaar, 2014–2023