|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.pcl.absurdist.gui.Plot
Class Plot: Visual representation of a plot for an Absurdist variable.
| Constructor Summary | |
Plot(double[][][] var,
int nStep,
int x,
int y,
int width,
int height)
Creates a plot from a variable array. |
|
| Method Summary | |
void |
paint(java.awt.Graphics2D g)
Paints the object. |
void |
setSteps(int nStep)
Sets the number of steps. |
void |
setVar(double[][][] var)
Sets the variable array. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Plot(double[][][] var,
int nStep,
int x,
int y,
int width,
int height)
| Method Detail |
public void setVar(double[][][] var)
public void setSteps(int nStep)
public void paint(java.awt.Graphics2D g)
y = oy - DY * (v - minVar);
where
DY = H/(maxVar-minVar);
H=(height - OY)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||