Alphabetical list Categories
axshift Specifies shift of drawn axis for XAXIS and YAXIS
Call signature:

axshift(pt=None)

Help text:

axshift(len) specifies shift (in points) for xaxis and yaxis. Positive means down or left, negative means up or right.
pt = axshift returns current setting.

Example:

import pyqplot as qp

import numpy as np

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

xx = np.linspace(-np.pi, np.pi, 50)

qp.plot(xx, np.sin(xx))

qp.axshift(10)

qp.xaxis('', [-np.pi, 0, np.pi], ['π', '0', 'π'], y=-1)

qp.yaxis('', [-1,0,1], x=-np.pi)

qp.shrink()

QPlot Documentation — (C) Daniel Wagenaar, 2019