- priority: 9 --> 8
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.
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.
Log in to post a comment.