All Packages Class Hierarchy This Package Previous Next Index
Class crw.data2.GridedGraphSet
java.lang.Object
|
+----crw.data2.GraphSet
|
+----crw.data2.GridedGraphSet
- public class GridedGraphSet
- extends GraphSet
Adds gridding capability to the axes in GraphSet.
It allows a separate invocation of the Axes drawing
[drawAxes(Graphics)] and of the data drawing [drawData(Grahics)].
This allows to keep the axes and grid in a background image,
and only need to redraw data, for speed improvement.
- Version:
- 1.0
- Author:
- C.R.Wie
-
GridedGraphSet()
-
-
drawAxes(Graphics)
- Draws axes, ticks, labels, and grids.
-
setGridSpacing(double, double)
- Sets the grid spacing values for x-grids and y-grids.
GridedGraphSet
public GridedGraphSet()
setGridSpacing
public void setGridSpacing(double dx,
double dy)
- Sets the grid spacing values for x-grids and y-grids.
- Parameters:
- dx - the x-value difference between grids.
- dy - the y-value spacing.
drawAxes
public void drawAxes(Graphics g)
- Draws axes, ticks, labels, and grids.
- Overrides:
- drawAxes in class GraphSet
All Packages Class Hierarchy This Package Previous Next Index