|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.awt.AbstractGraphModel JSci.awt.ArgandDiagramModel
public final class ArgandDiagramModel
The ArgandDiagramModel provides a convenient implementation of the Graph2DModel interface for creating Argand diagrams using the LineGraph component.
Constructor Summary | |
---|---|
ArgandDiagramModel()
|
Method Summary | |
---|---|
void |
firstSeries()
Selects the first data series. |
float |
getXCoord(int i)
Returns the x coordinate for the ith point. |
float |
getYCoord(int i)
Returns the y coordinate for the ith point. |
boolean |
nextSeries()
Selects the next data series. |
int |
seriesLength()
Returns the number of data points in the current series. |
void |
setData(Complex[] z)
Sets the list of complex numbers to be plotted. |
Methods inherited from class JSci.awt.AbstractGraphModel |
---|
addGraphDataListener, fireGraphChanged, fireGraphDataChanged, fireGraphSeriesUpdated, removeGraphDataListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface JSci.awt.Graph2DModel |
---|
addGraphDataListener, removeGraphDataListener |
Constructor Detail |
---|
public ArgandDiagramModel()
Method Detail |
---|
public void setData(Complex[] z)
public float getXCoord(int i)
Graph2DModel
getXCoord
in interface Graph2DModel
public float getYCoord(int i)
Graph2DModel
getYCoord
in interface Graph2DModel
public int seriesLength()
Graph2DModel
seriesLength
in interface Graph2DModel
public void firstSeries()
Graph2DModel
firstSeries
in interface Graph2DModel
public boolean nextSeries()
Graph2DModel
nextSeries
in interface Graph2DModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |