// Plot deffuzyfier values (if any)
//---
Defuzzifier defuzzifier = v.getDefuzzifier();
if( (defuzzifier != null) && (defuzzifier instanceof DefuzzifierContinuous) ) {
DefuzzifierContinuous def = (DefuzzifierContinuous) defuzzifier;
double latestDefuzzifiedValue = v.getLatestDefuzzifiedValue();
String title = name; // String.format("%s:%2.2f (%s)", name, latestDefuzzifiedValue, defuzzifier.getName());
topTitle += "=" + String.format("% 6.2f", latestDefuzzifiedValue);
XYSeries series = new XYSeries(title);
double values[] = def.getValues();
numberOfPoints = values.length;
double xx = def.getMin();
step = (def.getMax() - def.getMin()) / (numberOfPoints);
for( int i = 0; i < numberOfPoints; i++, xx += step )
series.add(xx, values[i]); // Add serie to dataSet
xyDataset.addSeries(series);
plotDefuzz = true;
}