Creating a simple plot¶
We start by importing the XYPlot Class from cplots
and we can quickly plot any function "on-the-fly" by doing
XYPlot() instance and calls the render() method
The idea behind cplots is that no changes to the function calls are needed to change backends, and make the figure interactive