/** Builds a ScatterPlotGenerator not attached to any MASON simulation. */ public static ScatterPlotGenerator buildScatterPlotGenerator( String title, String rangeAxisLabel, String domainAxisLabel) { ScatterPlotGenerator chart = new ScatterPlotGenerator(); if (title == null) title = ""; chart.setTitle(title); if (rangeAxisLabel == null) rangeAxisLabel = ""; chart.setYAxisLabel(rangeAxisLabel); if (domainAxisLabel == null) domainAxisLabel = ""; chart.setXAxisLabel(domainAxisLabel); return chart; }