/** * Create a plot canvas with the poly line plot of given data. * @param data a n-by-2 or n-by-3 matrix that describes coordinates of points. * @param style the stroke style of line. * @param color the color of line. */ public static PlotCanvas plot(double[][] data, Line.Style style, Color color) { return plot(null, data, style, color); }
/** * Create a plot canvas with the poly line plot of given data. * @param y a data vector that describes y coordinates of points. The x * coordinates will be [0, n), where n is the length of y. * @param style the stroke style of line. * @param color the color of line. */ public static PlotCanvas plot(double[] y, Line.Style style, Color color) { return plot(null, y, style, color); }
/** * Create a plot canvas with the poly line plot of given data. * @param y a data vector that describes y coordinates of points. The x * coordinates will be [0, n), where n is the length of y. * @param style the stroke style of line. */ public static PlotCanvas plot(double[] y, Line.Style style) { return plot(null, y, style); }
/** * Create a plot canvas with the poly line plot of given data. * @param y a data vector that describes y coordinates of points. The x * coordinates will be [0, n), where n is the length of y. */ public static PlotCanvas plot(double[] y) { return plot(null, y); }
/** * Create a plot canvas with the poly line plot of given data. * @param data a n-by-2 or n-by-3 matrix that describes coordinates of points. * @param style the stroke style of line. */ public static PlotCanvas plot(double[][] data, Line.Style style) { return plot(null, data, style); }