edu.ull.cgunay.plots
Class SuperposedDataPlot

java.lang.Object
  |
  +--edu.ull.cgunay.plots.Plot
        |
        +--edu.ull.cgunay.plots.SuperposedDataPlot
All Implemented Interfaces:
HasAxisLabels, Serializable
Direct Known Subclasses:
MultiDataPlot

public class SuperposedDataPlot
extends Plot

Plots multiple datasets on a single axis.

Created: Mon Nov 11 15:08:58 2002

Modified: $Date: 2003/03/13 05:09:55 $

Version:
v2.0, $Revision: 1.4 $ for this file.
Author:
Cengiz Gunay
See Also:
Grapher.Data, Serialized Form

Nested Class Summary
(package private)  class SuperposedDataPlot.AxisFactory
           
 
Field Summary
(package private)  Grapher.Data[] datas
           
 
Fields inherited from class edu.ull.cgunay.plots.Plot
axes, fontSize, grapher, label, range, title, xLabel, yLabel
 
Constructor Summary
(package private) SuperposedDataPlot(Range range)
          Creates a new SuperposedDataPlot instance for internal use by subclasses.
  SuperposedDataPlot(Range range, Grapher.Data[] datas)
          Takes a dataset to plot.
  SuperposedDataPlot(Range range, List datas)
          Takes a List of datasets to plot.
 
Method Summary
 String recipe(Grapher grapher)
          Combines given datasets to be displayed on a single axis.
 
Methods inherited from class edu.ull.cgunay.plots.Plot
add, assign, def_func, div, exp, func, geq, getFontSize, getGrapher, getLabel, getMaxRange, getMaxRange, getRange, getTitle, getXLabel, getYLabel, mul, neg, plot, profile, range, setFontSize, setGrapher, setLabel, setRange, setTitle, setXLabel, setYLabel, sub, toString, variable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

datas

Grapher.Data[] datas
Constructor Detail

SuperposedDataPlot

public SuperposedDataPlot(Range range,
                          Grapher.Data[] datas)
Takes a dataset to plot.

Parameters:
range - a Range value

SuperposedDataPlot

SuperposedDataPlot(Range range)
Creates a new SuperposedDataPlot instance for internal use by subclasses.

Parameters:
range - a Range value

SuperposedDataPlot

public SuperposedDataPlot(Range range,
                          List datas)
Takes a List of datasets to plot.

Parameters:
range - a Range value
datas - a List value
Method Detail

recipe

public String recipe(Grapher grapher)
Combines given datasets to be displayed on a single axis.

Specified by:
recipe in class Plot
Parameters:
grapher - a Grapher value
Returns:
a String value