arange
Return evenly spaced values within interval
Call signature:
arange(start, end, step=1)
Help text:
xx = arange(start, end, step) returns numbers in the closed interval [start, end] with a step size of step.
This is similar to numpy's arange, but care is taken that the end point is included if step divides the interval evenly. Also, the number zero is protected from numerical imprecision.
Example:

import qplot as qp

import numpy as np

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

xx = np.arange(100)

yy = np.cos(xx/10)

qp.plot(xx, yy)

qp.axshift(5)

qp.xaxis(ticks=qp.arange(0,100,20), y=-1)

qp.yaxis(ticks=qp.arange(-1,1))