analyzer.plot
Class GrayBoxes

java.lang.Object
  |
  +--analyzer.plot.PlotElement
        |
        +--analyzer.plot.GrayBoxes

public class GrayBoxes
extends PlotElement

Displays 2D array as a grid of gray intensity boxes.


Field Summary
protected  double[] data
           
protected  int imax
           
protected  int imin
           
protected  int jmax
           
protected  int jmin
           
 
Fields inherited from class analyzer.plot.PlotElement
color, parent, stroke
 
Constructor Summary
GrayBoxes(int imin, int jmin, int imax, int jmax, double[] data)
          Constructor
 
Method Summary
 void paint(java.awt.Graphics2D g)
          Paint
 
Methods inherited from class analyzer.plot.PlotElement
addElement, setPaint, setParent, setStroke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imin

protected int imin

imax

protected int imax

jmin

protected int jmin

jmax

protected int jmax

data

protected double[] data
Constructor Detail

GrayBoxes

public GrayBoxes(int imin,
                 int jmin,
                 int imax,
                 int jmax,
                 double[] data)
Constructor
Method Detail

paint

public void paint(java.awt.Graphics2D g)
Paint
Overrides:
paint in class PlotElement


Email questions and comments to
shumway@uiuc.edu or nzhong@ncsa.uiuc.edu