Class NormalPlot

    • Field Detail

      • m_Data

        protected SpreadSheet m_Data
        Instances to plot
      • m_Val

        protected Normal m_Val
        Normal distribution paintlet for the regression fitting
      • m_NormOptions

        protected NormalPlotOptions m_NormOptions
        Options for this normal distribution
      • m_Index

        protected int m_Index
        Index of the residuals attribute in the instances
      • m_FileChooser

        protected SpreadSheetFileChooser m_FileChooser
        the file chooser for saving a specific sequence.
    • Constructor Detail

      • NormalPlot

        public NormalPlot()
    • Method Detail

      • initGUI

        protected void initGUI()
        For initializing the GUI.
        initGUI in class BasePanel
      • setOptions

        public void setOptions​(NormalPlotOptions val)
        Set the options for this plot
        val - Normalplotoptions object containing the options
      • getPlot

        public PlotPanel getPlot()
        Returns the plot panel of the panel, null if no panel present.
        Specified by:
        getPlot in class PaintablePanel
        the plot panel
      • prepareUpdate

        public void prepareUpdate()
        Prepares the update, i.e., calculations etc.
        Specified by:
        prepareUpdate in class PaintablePanel
      • canPaint

        protected boolean canPaint​(Graphics g)
        Returns true if the paintlets can be executed.
        Specified by:
        canPaint in class PaintablePanel
        g - the graphics context
        true if painting can go ahead
      • setData

        public void setData​(SpreadSheet data)
        Set the data to plot.
        data - data to plot
      • getData

        public SpreadSheet getData()
        Returns the plot data.
        the data
      • setIndex

        public void setIndex​(int val)
        Set the index of the residuals column in the spreadsheet.
        val - Residuals column index
      • getIndex

        public int getIndex()
        Returns the index of the residuals column in the spreadsheet.
        the column
      • save

        protected void save()
        Saves the data as spreadsheet.