This project (see `./examples/parametriccurve/`) demonstrates how to draw parametric curves `[x,y]=f(t)`, using `JKQTPXYLineGraph` and `JKQTPXYParametrizedScatterGraph`, i.e. from a set of coordinates `[xi,yi]`, for which the vector-values function `f(t)` is evaluated explicitly. If you are alloking for an example of implicit drawing by only defining the function `f(t)` and having JKQTPlotter evaluate it automatically and adaptively, you'll have to use `JKQTPXYFunctionLineGraph`, which is explained in [`./examples/evalcurve`](https://github.com/jkriege2/JKQtPlotter/tree/master/examples/evalcurve)
The source code of the main application can be found in [`parametriccurve.cpp`](https://github.com/jkriege2/JKQtPlotter/tree/master/examples/parametriccurve/parametriccurve.cpp). First, the parametric curve (here a [logarithic spiral](https://en.wikipedia.org/wiki/Logarithmic_spiral)) is sampled into two columns containing the x- and y-values along the curve. In addition the radial distance from x=y=0 is added into a third column:
If you use `JKQTPXYParametrizedScatterGraph` instead of `JKQTPXYLineGraph`, you can also modify the color of the line-segments, connecting the datapoints: