analyzer.plot
Class XYPlot

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

public class XYPlot
extends PlotElement

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


Field Summary
protected  double[] data
           
protected  double[] ordinates
           
protected  XYDataSource source
           
 
Fields inherited from class analyzer.plot.PlotElement
color, parent, stroke
 
Constructor Summary
XYPlot(double[] data)
           
XYPlot(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
Constructor Detail

XYPlot

public XYPlot(double[] data)

XYPlot

public XYPlot(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