public class GridPainter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
axesOnGrid |
(package private) java.awt.Color |
axisColor |
(package private) java.awt.Color |
gridColor |
(package private) static int[] |
intervals |
(package private) java.lang.String |
xlabel |
Constructor and Description |
---|
GridPainter() |
Modifier and Type | Method and Description |
---|---|
static int[] |
getTicks(double[] va,
double vlow,
double vhigh,
int range) |
static double[] |
getTickValues(int ntick,
double vlow,
double vhigh) |
void |
paint(Painter p) |
void |
setAxisColor(java.awt.Color c) |
void |
setGridBackground(java.awt.Color c) |
void |
setGridColor(java.awt.Color c) |
void |
setOnGridAxes() |
void |
setXAxisLabel(java.lang.String s) |
static final int[] intervals
java.awt.Color gridColor
java.awt.Color axisColor
private boolean axesOnGrid
java.lang.String xlabel
public void setGridColor(java.awt.Color c)
public void setAxisColor(java.awt.Color c)
public void setGridBackground(java.awt.Color c)
public void paint(Painter p)
public static final double[] getTickValues(int ntick, double vlow, double vhigh)
public static final int[] getTicks(double[] va, double vlow, double vhigh, int range)
public void setOnGridAxes()
public void setXAxisLabel(java.lang.String s)
Copyright © 2013. All Rights Reserved.