Alphabetical list Categories
at Specify location for future text
Call signature:

at(x=None, y=None, phi=None, along=None, id=None)

Help text:

at(x, y) specifies that future text will be placed at data location (x,y) Optional arguments:
  phi - specifies that the text will be rotated by phi radians.
  along - must be a tuple (dx,dy), meaning that the text will be
        rotated s.t. the baseline points in the data direction (dx,dy).
  id - coordinates are specified relative to a subplot x may also be one of 'left,' 'right,' 'center,' 'abs,' 'absolute.' y may also be one of 'top,' 'bottom,' 'middle,' 'abs,' 'absolute.' If x and/or y is omitted, placements reverts to absolute in those dimensions.

Example:

import pyqplot as qp

import numpy as np

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

qp.plot([0, 1, 2, 3, 4], [0, 1, 4, 2, 5])

qp.align('top', 'left')

qp.at(1, 1)

qp.text('one', dx=3, dy=3)

qp.at(2, 4, -np.pi/4)

qp.text('two', dx=3, dy=3)

qp.at('right', 'bottom', id='A')

qp.at(3, 2, (4-3), (5-2))

qp.text('three', dx=3, dy=3)

qp.at(id='A')

qp.text('four', dx=3, dy=3)

QPlot Documentation — (C) Daniel Wagenaar, 2019