# PyQtGraph’s Helper Functions

## Simple Data Display Functions

## Color, Pen, and Brush Functions

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 `mkColor()`, `mkPen()`, and `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:

    pg.plot(xdata, ydata, pen='r')
    pg.plot(xdata, ydata, pen=pg.mkPen('r'))
    pg.plot(xdata, ydata, pen=QPen(QColor(255, 0, 0)))

## Data Slicing

## Coordinate Transformation

## SI Unit Conversion Functions

## Image Preparation Functions

## Mesh Generation Functions

## Miscellaneous Functions