Class Plot2DCanvasOJ

    • Constructor Detail

      • Plot2DCanvasOJ

        public Plot2DCanvasOJ()
      • Plot2DCanvasOJ

        public Plot2DCanvasOJ​(org.math.plot.plotObjects.Base b,
                              org.math.plot.plotObjects.BasePlot bp)
      • Plot2DCanvasOJ

        public Plot2DCanvasOJ​(double[] min,
                              double[] max,
                              String[] axesScales,
                              String[] axesLabels)
    • Method Detail

      • initDrawer

        public void initDrawer()
        Specified by:
        initDrawer in class org.math.plot.canvas.PlotCanvas
      • initBasenGrid

        public void initBasenGrid​(double[] min,
                                  double[] max)
        Specified by:
        initBasenGrid in class org.math.plot.canvas.PlotCanvas
      • initBasenGrid

        public void initBasenGrid()
        Specified by:
        initBasenGrid in class org.math.plot.canvas.PlotCanvas
      • addScatterPlot

        public int addScatterPlot​(String name,
                                  Color c,
                                  double[] Y)
      • addScatterPlot

        public int addScatterPlot​(String name,
                                  Color c,
                                  double[][] XY)
      • addScatterPlot

        public int addScatterPlot​(String name,
                                  Color c,
                                  double[] X,
                                  double[] Y)
      • addLinePlot

        public int addLinePlot​(String name,
                               Color c,
                               double[] Y)
      • addLinePlot

        public int addLinePlot​(String name,
                               Color c,
                               double[][] XY)
      • addLinePlot

        public int addLinePlot​(String name,
                               Color c,
                               double[] X,
                               double[] Y)
      • addBarPlot

        public int addBarPlot​(String name,
                              Color c,
                              double[] Y)
      • addBarPlot

        public int addBarPlot​(String name,
                              Color c,
                              double[][] XY)
      • addBarPlot

        public int addBarPlot​(String name,
                              Color c,
                              double[] X,
                              double[] Y)
      • addStaircasePlot

        public int addStaircasePlot​(String name,
                                    Color c,
                                    double[] Y)
      • addStaircasePlot

        public int addStaircasePlot​(String name,
                                    Color c,
                                    double[][] XY)
      • addStaircasePlot

        public int addStaircasePlot​(String name,
                                    Color c,
                                    double[] X,
                                    double[] Y)
      • addBoxPlot

        public int addBoxPlot​(String name,
                              Color c,
                              double[][] XY,
                              double[][] dX)
      • addBoxPlot

        public int addBoxPlot​(String name,
                              Color c,
                              double[][] XYdX)
      • addHistogramPlot

        public int addHistogramPlot​(String name,
                                    Color c,
                                    double[][] XY,
                                    double[] dX)
      • addHistogramPlot

        public int addHistogramPlot​(String name,
                                    Color c,
                                    double[][] XY,
                                    double dX)
      • addHistogramPlot

        public int addHistogramPlot​(String name,
                                    Color c,
                                    double[][] XYdX)
      • addHistogramPlot

        public int addHistogramPlot​(String name,
                                    Color c,
                                    double[] X,
                                    int n)
      • addHistogramPlotOJ

        public int addHistogramPlotOJ​(String name,
                                      Color c,
                                      double[] X,
                                      int n,
                                      PlugInContext context,
                                      Layer layer,
                                      String attrName)
        [sstein] - method for connection with OpenJUMP
        Parameters:
        name - name of the plot
        c - color of the plot
        X - data as a double array
        n - number of classes
        context - plugInContext
        layer - Layer
        attrName - name of the attribute to Plot
      • addHistogramPlot

        public int addHistogramPlot​(String name,
                                    Color c,
                                    double[] X,
                                    double... bounds)
      • addHistogramPlot

        public int addHistogramPlot​(String name,
                                    Color c,
                                    double[] X,
                                    double min,
                                    double max,
                                    int n)
      • addCloudPlot

        public int addCloudPlot​(String name,
                                Color c,
                                double[][] sampleXY,
                                int nX,
                                int nY)
      • main

        public static void main​(String[] args)