PiDraw API
    Preparing search index...

    Interface PlotConstraints

    The constructions of a plot, by the key of the config that holds them.

    interface PlotConstraints {
        expression: string;
        quadratic: { A: XY; B: XY; C: XY };
    }
    Index
    expression: string

    A function of x, written as text (x^2+1, sin(x)): see NumExp for what it can contain.

    quadratic: { A: XY; B: XY; C: XY }

    The parabola through three points (a line if they are aligned). The points are positions in pixels (a Point fits). If two of them have the same abscissa there is no parabola: the plot does not exist and is not drawn.