|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.plot.Plot2D
| Constructor Summary | |
Plot2D(java.util.ArrayList x,
java.util.ArrayList y)
This constructor is for x-y plots with multiple curvess and no legend. |
|
Plot2D(java.util.ArrayList x,
java.util.ArrayList y,
java.util.ArrayList n)
This constructor is for x-y plots with multiple curvess and with a legend. |
|
Plot2D(double[] x,
double[] y)
This constructor is for a simple x-y plot class, for a single curve |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
plotIt()
The routine that actually creates and starts the plots |
void |
tableChanged(javax.swing.event.TableModelEvent e)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Plot2D(double[] x,
double[] y)
throws XalException
x - - array of doubles containing the x valuesy - - array of doubles containing the y values
public Plot2D(java.util.ArrayList x,
java.util.ArrayList y)
throws XalException
x - - ArrayList of double arrays containing the x valuesy - - ArrayList of double arrays containing the y values
note: each ArrayList should have the same number of elements.
public Plot2D(java.util.ArrayList x,
java.util.ArrayList y,
java.util.ArrayList n)
throws XalException
x - - ArrayList of double arrays containing the x valuesy - - ArrayList of double arrays containing the y valuesn - - ArrayList of Strings containing the curve labels
note: each ArrayList should have the same number of elements.| Method Detail |
public void tableChanged(javax.swing.event.TableModelEvent e)
tableChanged in interface javax.swing.event.TableModelListenerpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void plotIt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||