float start = (Float) properties.getValue(pStart);
float end = (Float) properties.getValue(pEnd);
float increment = (Float) properties.getValue(pIncrement);
if (increment == 0) {
throw new ConfigException(
"Cannot plot with infinite steps because step size is 0");
}
Function[] functions = functionInput.getFunctions();
if (functionIndex >= functions.length) {
throw new ConfigException("Function index out of bounds");
}
Function function = functionInput.getFunctions()[functionIndex];
Plotter.plot(function, start, increment, end, title + " ("
+ function.getClass().getSimpleName() + ")");