|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsources.Smoothing
sources.Regression
Class that draws a regression line, not supported in this version of VanGogh
Field Summary |
Fields inherited from class sources.Smoothing |
dat |
Constructor Summary | |
Regression()
|
|
Regression(LDataSet data)
Creates new Regression |
Method Summary | |
void |
calcNow(int width,
int height,
boolean onlyselected,
int[] xval,
int[] yval)
Calculates the Smoothing |
double[] |
getResiduals()
returns an array of residuals |
void |
paintSmooth(java.awt.Graphics gr)
Paints the Smoothing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Regression(LDataSet data)
public Regression()
Method Detail |
public void paintSmooth(java.awt.Graphics gr)
Smoothing
paintSmooth
in class Smoothing
gr
- the Graphics to paint onpublic double[] getResiduals()
Smoothing
getResiduals
in class Smoothing
public void calcNow(int width, int height, boolean onlyselected, int[] xval, int[] yval)
Smoothing
calcNow
in class Smoothing
width
- the width of the imageheight
- the height of the imageonlyselected
- true, if only selection has changedxval
- the x-values of the pointsyval
- the y values of the points
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |