jmathplot
jmathplot copied to clipboard
introduced enum for plot types
I introduced an enum for all plot types (PlotPanel.Type).
That way we have stronger typing than with Strings and the plot types are iterable.
The function addPlot(String, String, Color, double[]...) in Plot2DPanel and Plot3DPanel becomes much more readable.
A few changes to the demos were necessary as well.