Package edu.cnu.mdi.splot.plot
Class PlotBuilders
java.lang.Object
edu.cnu.mdi.splot.plot.PlotBuilders
Entry points for concise construction of native MDI plots.
-
Method Summary
-
Method Details
-
xy
Starts an XY plot builder.- Parameters:
title- plot title- Returns:
- new builder
-
xy
public static PlotPanel xy(String title, String xLabel, String yLabel, String seriesName, double[] x, double[] y) Builds a one-series XY plot with standard decorations and labels.- Parameters:
title- plot titlexLabel- horizontal-axis labelyLabel- vertical-axis labelseriesName- legend namex- x coordinatesy- y coordinates- Returns:
- native plot panel
-