GLAxisItem

class pyqtgraph.opengl.GLAxisItem(size=None, antialias=True, glOptions='translucent')[source]

Bases: GLGraphicsItem

Displays three lines indicating origin and orientation of local coordinate system.

__init__(size=None, antialias=True, glOptions='translucent')[source]

x.__init__(…) initializes x; see help(type(x)) for signature

paint()[source]

Called by the GLViewWidget to draw this item. It is the responsibility of the item to set up its own modelview matrix, but the caller will take care of pushing/popping.

setSize(x=None, y=None, z=None, size=None)[source]

Set the size of the axes (in its local coordinate system; this does not affect the transform) Arguments can be x,y,z or size=QVector3D().