code: public static PlotCanvas plot(double[] y, Line.Style style) {
          return plot(null, y, style);
      }
docs: 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.