2014-03-01 02:07:43 +00:00
PyQtGraph's Helper Functions
2012-03-02 02:55:32 +00:00
============================
Simple Data Display Functions
-----------------------------
.. autofunction :: pyqtgraph.plot
.. autofunction :: pyqtgraph.image
2012-12-07 14:31:21 +00:00
.. autofunction :: pyqtgraph.dbg
2012-03-02 02:55:32 +00:00
Color, Pen, and Brush Functions
-------------------------------
2014-03-01 02:09:03 +00:00
Qt uses the classes QColor, QPen, and QBrush to determine how to draw lines and fill shapes. These classes are highly capable but somewhat awkward to use. PyQtGraph offers the functions :func: `~pyqtgraph.mkColor` , :func: `~pyqtgraph.mkPen` , and :func: `~pyqtgraph.mkBrush` to simplify the process of creating these classes. In most cases, however, it will be unnecessary to call these functions directly--any function or method that accepts *pen* or *brush* arguments will make use of these functions for you. For example, the following three lines all have the same effect::
2012-03-02 02:55:32 +00:00
pg.plot(xdata, ydata, pen='r')
pg.plot(xdata, ydata, pen=pg.mkPen('r'))
pg.plot(xdata, ydata, pen=QPen(QColor(255, 0, 0)))
.. autofunction :: pyqtgraph.mkColor
.. autofunction :: pyqtgraph.mkPen
.. autofunction :: pyqtgraph.mkBrush
.. autofunction :: pyqtgraph.hsvColor
.. autofunction :: pyqtgraph.intColor
2021-06-09 03:41:46 +00:00
.. autofunction :: pyqtgraph.CIELabColor
.. autofunction :: pyqtgraph.colorCIELab
.. autofunction :: pyqtgraph.colorDistance
2012-03-02 02:55:32 +00:00
Data Slicing
------------
.. autofunction :: pyqtgraph.affineSlice
2012-12-07 14:31:21 +00:00
Coordinate Transformation
-------------------------
.. autofunction :: pyqtgraph.transformToArray
.. autofunction :: pyqtgraph.transformCoordinates
.. autofunction :: pyqtgraph.solve3DTransform
.. autofunction :: pyqtgraph.solveBilinearTransform
2012-03-02 02:55:32 +00:00
SI Unit Conversion Functions
----------------------------
.. autofunction :: pyqtgraph.siFormat
.. autofunction :: pyqtgraph.siScale
.. autofunction :: pyqtgraph.siEval
2021-02-03 18:23:17 +00:00
.. autofunction :: pyqtgraph.siParse
2012-04-15 16:32:20 +00:00
Image Preparation Functions
---------------------------
.. autofunction :: pyqtgraph.makeARGB
.. autofunction :: pyqtgraph.makeQImage
2012-12-07 14:31:21 +00:00
.. autofunction :: pyqtgraph.applyLookupTable
.. autofunction :: pyqtgraph.rescaleData
.. autofunction :: pyqtgraph.imageToArray
2012-04-15 16:32:20 +00:00
Mesh Generation Functions
-------------------------
.. autofunction :: pyqtgraph.isocurve
.. autofunction :: pyqtgraph.isosurface
2012-12-07 14:31:21 +00:00
Miscellaneous Functions
-----------------------
2016-01-30 08:10:25 +00:00
.. autofunction :: pyqtgraph.eq
2013-02-10 22:45:16 +00:00
.. autofunction :: pyqtgraph.arrayToQPath
2012-12-07 14:31:21 +00:00
.. autofunction :: pyqtgraph.pseudoScatter
.. autofunction :: pyqtgraph.systemInfo
2013-03-07 20:29:56 +00:00
.. autofunction :: pyqtgraph.exit
2021-08-02 11:00:38 +00:00
Legacy Color Helper Functions
-------------------------------
The following helper functions should no longer be used. The functionality that they implement is trivial and it is suggested that the user use the equivalent QColor methods directly.
.. autofunction :: pyqtgraph.colorTuple
.. autofunction :: pyqtgraph.colorStr
.. autofunction :: pyqtgraph.glColor