Class PlotGrid

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PlotGrid extends JPanel
See Also:
  • Constructor Details

    • PlotGrid

      public PlotGrid(int numRow, int numCol)
      Create a plot grid of independent canvases
      Parameters:
      numRow - the number of rows
      numCol - the number of columns
  • Method Details

    • addPlotPanel

      public void addPlotPanel(PlotPanel panel)
      Add a plot panel to the grid
      Parameters:
      panel - the plot panel
    • addPlotCanvas

      public void addPlotCanvas(PlotCanvas canvas)
      Add a plot canvas to the grid
      Parameters:
      canvas - the plot canvas
    • getPlotPanel

      public PlotPanel getPlotPanel(int row, int col)
      Obtain the plot panel from the 0-based row and column
      Parameters:
      row - the row index
      col - the column index
      Returns:
      the plot panel or null.
    • getPlotCanvas

      public PlotCanvas getPlotCanvas(int row, int col)
      Obtain the plot canvas from the 0-based row and column
      Parameters:
      row - the row index
      col - the column index
      Returns:
      the plot canvas or null.
    • getDataSet

      public DataSet getDataSet(int row, int col)
      Obtain the data from the 0-based row and column
      Parameters:
      row - the row index
      col - the column index
      Returns:
      the dataset or null.