public class GridPainter extends Object
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(Color c) |
void |
setGridBackground(Color c) |
void |
setGridColor(Color c) |
void |
setOnGridAxes() |
void |
setXAxisLabel(String s) |
public void setGridColor(Color c)
public void setAxisColor(Color c)
public void setGridBackground(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(String s)
Copyright © 2020. All rights reserved.