Flint: Rework custom plot API
This API is not very good. It would be good to clean up it.
- difficult to reuse plot
- not obvious to display curves
Time should be spent to provide a strong low API.
Thinking out loud.
beginPlot()
uploadData("foo", foo_data)
plot(y_data, x_data)
plot(y2_data, "foo")
endPlot()