|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
com.numobjects.mathbeans.CalcGraphSet
Calc set with graphing capabilities. Contains a calc set with the plotter.
The component provides the possibility to choose the independent variable,
its range and which of the dependencies to plot. The chosen functions are
then plotted together. The graph may be detached and resized as desired.
Graphs can be printed. Expressions corresponding to the functions are set
by the same rules as for the CalcSet.
CalcSet,
CalcSolveSet, Serialized Form| Constructor Summary | |
CalcGraphSet()
Constructor (uses default formula and default base color) |
|
CalcGraphSet(java.lang.String formulae,
java.awt.Color c)
Constructor |
|
| Method Summary | |
CalcSet |
getCalculator()
Gets calculator panel |
void |
getColors(java.awt.Color[] cc)
Gets base colors from the calculator, plotter and control panels |
com.numobjects.mathbeans.PlotControlPanel |
getControl()
Gets control panel |
java.lang.String |
getFormulae()
Gets formulae |
com.numobjects.mathbeans.PlotSet |
getPlotter()
Gets plotter panel |
int |
getPrecision()
Gets precision |
int |
getRounding()
Gets rounding |
void |
getValues(java.lang.String[][] s)
Gets the values from the calculator, plotter and control panels |
void |
setColors(java.awt.Color[] cc)
Sets base colors for the calculator, plotter and control panels |
void |
setFormulae(java.lang.String formulae)
Sets formulae |
void |
setPrecision(int value)
Sets precision (the number of significant digits in the calculation); range 1 - 15, default precision is 6 |
void |
setRounding(int value)
Sets rounding (the number of digits displayed after the decimal dot); range -1 - 15, default rounding is -1 (no rounding) |
void |
setValues(java.lang.String[][] s)
Sets the values for the calculator, plotter and control panels |
void |
setVariable(int index)
Sets index of the variable in the list of parameters |
| Constructor Detail |
public CalcGraphSet()
public CalcGraphSet(java.lang.String formulae,
java.awt.Color c)
formulae - a string representing a set of formulasc - base color| Method Detail |
public void setFormulae(java.lang.String formulae)
formulae - a string representing a set of formulae (semicolon delimited)public java.lang.String getFormulae()
public void setPrecision(int value)
value - precision to setpublic int getPrecision()
public void setRounding(int value)
value - roundingpublic int getRounding()
public CalcSet getCalculator()
public com.numobjects.mathbeans.PlotSet getPlotter()
public com.numobjects.mathbeans.PlotControlPanel getControl()
public void setColors(java.awt.Color[] cc)
cc - an array of colors (must have length at least 3)public void getColors(java.awt.Color[] cc)
cc - an array of colors (must have length at least 3)public void getValues(java.lang.String[][] s)
s - a two-dimensional array consisting of 3 arrays of valuespublic void setValues(java.lang.String[][] s)
s - a two-dimensional array consisting of 3 arrays of valuespublic void setVariable(int index)
index - index to set
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||