com.bbn.openmap.layer.plotLayer
Class ScatterGraph
java.lang.Object
com.bbn.openmap.layer.plotLayer.ScatterGraph
public class ScatterGraph
- extends java.lang.Object
Constructor Summary |
ScatterGraph(int height,
int width,
int xoffset,
int yoffset,
java.util.Vector sites,
float minyear,
float maxyear,
float mintemp,
float maxtemp)
|
ScatterGraph(int height,
int width,
java.util.Vector sites,
float minyear,
float maxyear,
float mintemp,
float maxtemp)
Set up the size of the graph, and scale all the axes correctly. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plot_graphics_
protected OMGraphicList plot_graphics_
plot_points_
protected OMGraphicList plot_points_
plot_background_
protected OMGraphicList plot_background_
ScatterGraph
public ScatterGraph(int height,
int width,
java.util.Vector sites,
float minyear,
float maxyear,
float mintemp,
float maxtemp)
- Set up the size of the graph, and scale all the axes correctly.
ScatterGraph
public ScatterGraph(int height,
int width,
int xoffset,
int yoffset,
java.util.Vector sites,
float minyear,
float maxyear,
float mintemp,
float maxtemp)
resize
public void resize(int x,
int y,
int newwidth,
int newheight)
setDataPoints
public void setDataPoints(java.util.Vector sites)
- Give us new data points to plot.
- Parameters:
sites
- the sites
getPlotGraphics
public OMGraphicList getPlotGraphics()
plotData
public void plotData()
- Create OMGraphics for all the data points on the plot
selectPoint
public OMGraphic selectPoint(int x,
int y,
float range)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details