public class ScatterGraph
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected OMGraphicList |
plot_background_ |
protected OMGraphicList |
plot_graphics_ |
protected OMGraphicList |
plot_points_ |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
OMGraphicList |
getPlotGraphics() |
void |
plotData()
Create OMGraphics for all the data points on the plot
|
void |
resize(int x,
int y,
int newwidth,
int newheight) |
OMGraphic |
selectPoint(int x,
int y,
float range) |
void |
setDataPoints(java.util.Vector sites)
Give us new data points to plot.
|
protected OMGraphicList plot_graphics_
protected OMGraphicList plot_points_
protected OMGraphicList plot_background_
public ScatterGraph(int height, int width, java.util.Vector sites, float minyear, float maxyear, float mintemp, float maxtemp)
public ScatterGraph(int height, int width, int xoffset, int yoffset, java.util.Vector sites, float minyear, float maxyear, float mintemp, float maxtemp)
public void resize(int x, int y, int newwidth, int newheight)
public void setDataPoints(java.util.Vector sites)
sites
- the sitespublic OMGraphicList getPlotGraphics()
public void plotData()
public OMGraphic selectPoint(int x, int y, float range)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details