|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.util.graph.PointPlot
org.strbio.util.graph.PointColorPlot
public class PointColorPlot
A graph that displays a point plot (a 2D graph of a bunch of points), with the 3rd axis in color.
Version 1.0, 4/21/99 - original version.
Field Summary |
---|
Fields inherited from class org.strbio.util.graph.PointPlot |
---|
legend, points, ptype |
Constructor Summary | |
---|---|
PointColorPlot(DVectorSet x,
ColorScale cs)
Start with just a set of points to plot. |
Method Summary | |
---|---|
void |
createLegend()
creates a new legend |
ColorScale |
getColorScale()
Return the color scale being used. |
double |
maxZ()
Returns the maximum z value currently being plotted. |
double |
minZ()
Returns the minimum z value currently being plotted. |
protected void |
paintVectorAt(int x,
int y,
DVector v,
java.awt.Graphics g)
This is a function to put a dot wherever a point should be plotted. |
void |
rescale()
Rescales, updates the legend. |
void |
setColorScale(ColorScale x)
Set the color scale to use. |
void |
setLegend(ColorScaleLegend x)
sets legend. |
void |
setPoints(DVectorSet x)
Set the points being drawn. |
Methods inherited from class org.strbio.util.graph.PointPlot |
---|
getLegend, getPoints, maxX, maxY, minX, minY, paintGraph, setLegend, setPointType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.strbio.util.graph.Graphable2D |
---|
getLegend, maxX, maxY, minX, minY, paintGraph |
Constructor Detail |
---|
public PointColorPlot(DVectorSet x, ColorScale cs)
Method Detail |
---|
public double minZ()
minZ
in interface Graphable3D
public double maxZ()
maxZ
in interface Graphable3D
public void rescale()
public void setPoints(DVectorSet x)
setPoints
in class PointPlot
public void setLegend(ColorScaleLegend x)
public void createLegend()
createLegend
in class PointPlot
public ColorScale getColorScale()
public void setColorScale(ColorScale x)
protected void paintVectorAt(int x, int y, DVector v, java.awt.Graphics g)
paintVectorAt
in class PointPlot
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |