public class Plot extends java.lang.Object implements PaintInstructor
Modifier and Type | Field and Description |
---|---|
(package private) java.awt.Color |
bgColor |
(package private) java.util.ArrayList<PlotElement> |
elements |
(package private) Box |
wkBox |
(package private) java.lang.String |
xlabel |
(package private) double |
xmax |
(package private) double |
xmin |
(package private) java.lang.String |
ylabel |
(package private) double |
ymax |
(package private) double |
ymin |
Constructor and Description |
---|
Plot() |
Modifier and Type | Method and Description |
---|---|
void |
addArrowString(double x,
double y,
java.awt.Color c,
java.lang.String sc) |
void |
addArrowString(double x,
double y,
java.lang.String sc) |
void |
addDots(double[] xpts,
double[] ypts,
java.awt.Color c) |
void |
addLine(double[][] xy,
java.awt.Color c) |
void |
addLine(double[] xpts,
double[] ypts,
java.awt.Color c) |
void |
addLine(double[] xpts,
double[] ypts,
java.awt.Color c,
java.lang.String s) |
void |
addPoints(double[] xpts,
double[] ypts,
java.awt.Color c) |
void |
addPolygon(double[][] xy,
java.awt.Color c) |
void |
addPolygon(double[] xpts,
double[] ypts,
java.awt.Color c) |
void |
addRasterRow(double[] times,
double[] vs,
double vmin,
double vmax,
double y,
double thr) |
void |
addSmallPoints(double[] xpts,
double[] ypts,
java.awt.Color c) |
void |
addSortedLine(double[] xpts,
double[] ypts,
java.awt.Color col) |
void |
addString(double x,
double y,
java.awt.Color c,
java.lang.String sc) |
void |
addString(double x,
double y,
java.lang.String sc) |
boolean |
antialias() |
void |
autorange(boolean fixedAR) |
Box |
getLimitBox() |
void |
instruct(Painter p) |
static void |
main(java.lang.String[] argv) |
void |
makeImage(int w,
int h,
Box b,
java.io.File fout) |
void |
makeImage(int w,
int h,
double[] xyxy,
java.io.File fout) |
void |
makeImage(int w,
int h,
java.io.File fout) |
void |
makeImage(int w,
int h,
java.lang.String fnm) |
void |
setBackgroundColor(java.awt.Color bg) |
void |
setData(double[] xp,
double[] yp) |
void |
setXLabel(java.lang.String s) |
void |
setXRange(double xl,
double xh) |
void |
setYLabel(java.lang.String s) |
void |
setYRange(double yl,
double hy) |
java.awt.Color bgColor
java.util.ArrayList<PlotElement> elements
java.lang.String xlabel
java.lang.String ylabel
double xmin
double xmax
double ymin
double ymax
Box wkBox
public static void main(java.lang.String[] argv)
public void addLine(double[] xpts, double[] ypts, java.awt.Color c)
public void addLine(double[][] xy, java.awt.Color c)
public void addPolygon(double[][] xy, java.awt.Color c)
public void addPolygon(double[] xpts, double[] ypts, java.awt.Color c)
public void addLine(double[] xpts, double[] ypts, java.awt.Color c, java.lang.String s)
public void addPoints(double[] xpts, double[] ypts, java.awt.Color c)
public void addSmallPoints(double[] xpts, double[] ypts, java.awt.Color c)
public void addDots(double[] xpts, double[] ypts, java.awt.Color c)
public void setData(double[] xp, double[] yp)
public void setXRange(double xl, double xh)
public void setYRange(double yl, double hy)
public void setXLabel(java.lang.String s)
public void setYLabel(java.lang.String s)
public void makeImage(int w, int h, java.lang.String fnm)
public void makeImage(int w, int h, java.io.File fout)
public void makeImage(int w, int h, double[] xyxy, java.io.File fout)
public void makeImage(int w, int h, Box b, java.io.File fout)
public boolean antialias()
antialias
in interface PaintInstructor
public Box getLimitBox()
getLimitBox
in interface PaintInstructor
public void autorange(boolean fixedAR)
public void instruct(Painter p)
instruct
in interface PaintInstructor
public void addSortedLine(double[] xpts, double[] ypts, java.awt.Color col)
public void addString(double x, double y, java.lang.String sc)
public void addString(double x, double y, java.awt.Color c, java.lang.String sc)
public void addArrowString(double x, double y, java.lang.String sc)
public void addArrowString(double x, double y, java.awt.Color c, java.lang.String sc)
public void addRasterRow(double[] times, double[] vs, double vmin, double vmax, double y, double thr)
public void setBackgroundColor(java.awt.Color bg)
Copyright © 2013. All Rights Reserved.