edu.ull.cgunay.plots
Class SpikePlot

java.lang.Object
  |
  +--edu.ull.cgunay.plots.Plot
        |
        +--edu.ull.cgunay.plots.SpikePlot
All Implemented Interfaces:
HasAxisLabels, Serializable

public class SpikePlot
extends Plot

Plot of a collection of spike timings.

Created: Mon Apr 8 17:50:01 2002

Modified: $Date: 2002/12/17 00:58:58 $

Version:
$Revision: 1.11 $ for this file.
Author:
Cengiz Gunay
See Also:
Serialized Form

Field Summary
(package private)  Vector spikes
          Values of the spikes to be plotted.
 
Fields inherited from class edu.ull.cgunay.plots.Plot
axes, fontSize, grapher, label, range, title, xLabel, yLabel
 
Constructor Summary
SpikePlot(String title, Range range, Vector spikes)
           
SpikePlot(Vector spikes)
           
 
Method Summary
 Vector getSpikes()
          Get the value of spikes.
 String recipe(Grapher grapher)
          Creates a "impulse" type dataset for the spike plot and associates with a single axis.
 void setSpikes(Vector v)
          Set the value of spikes.
 
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

spikes

Vector spikes
Values of the spikes to be plotted.

Constructor Detail

SpikePlot

public SpikePlot(String title,
                 Range range,
                 Vector spikes)

SpikePlot

public SpikePlot(Vector spikes)
Method Detail

getSpikes

public Vector getSpikes()
Get the value of spikes.

Returns:
value of spikes.

setSpikes

public void setSpikes(Vector v)
Set the value of spikes.

Parameters:
v - Value to assign to spikes.

recipe

public String recipe(Grapher grapher)
Creates a "impulse" type dataset for the spike plot and associates with a single axis.

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