#302 Make model plots continuous

Enhancement
open
David Benn
9
2014-01-03
2011-10-23
David Benn
No

Make polynomial fit and other model plots including residuals, line rather than scatter plots since they represent continuous functions.

This was suggested most recently by Tom Richards.

Discussion

  • David Benn
    David Benn
    2012-06-18

    • priority: 9 --> 8
     
  • David Benn
    David Benn
    2013-05-16

    • labels: Charts --> Charts, Eclipsing Binary
     
  • David Benn
    David Benn
    2013-06-02

    In order to accomplish this within VStar, a similar approach can be taken as for DCDFT plots in which a top-hit scatter plot is superimposed on a line plot.

    A key difference here is that we will actually need to represent the model function itself rather than its effects to yield a discrete set of values corresponding to available values over the JD time range. Apache Commons Math UnivariateFunction can be used for this, for Fourier series by constructing a sequence of a.c.m3.analysis.{Cos,Sin,Add,Subtract,Multiply}. Accordingly, all model creator implementations must return such a function. The plot model will generate values for a line plot from this.

    Note also that the resolution will need to be user-specifiable, e.g. in Plot Control dialog, otherwise the line plot may be of little use. Compare with resolution parameter permitted in R line plot function.

     
  • David Benn
    David Benn
    2014-01-03

    • Priority: 8 --> 9