analyzer.plot
Class XYPoints

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

public class XYPoints
extends PlotElement

Make an x-y plot from array data, using points.


Field Summary
protected  double[] data
           
protected  double[] ordinates
           
protected  float pointSize
           
protected  XYDataSource source
           
 
Fields inherited from class analyzer.plot.PlotElement
color, parent, stroke
 
Constructor Summary
XYPoints(double[] data)
           
XYPoints(XYDataSource source)
           
 
Method Summary
 void paint(java.awt.Graphics2D g)
           
 
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

data

protected double[] data

ordinates

protected double[] ordinates

source

protected XYDataSource source

pointSize

protected float pointSize
Constructor Detail

XYPoints

public XYPoints(double[] data)

XYPoints

public XYPoints(XYDataSource source)
Method Detail

paint

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


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