org.simBio.sim.analyzer.graph.simple
Class Graph

java.lang.Object
  extended by org.simBio.core.Component
      extended by org.simBio.core.Parameter
          extended by org.simBio.core.Composite
              extended by org.simBio.core.Analyzer
                  extended by org.simBio.sim.analyzer.graph.simple.Graph
All Implemented Interfaces:
Node
Direct Known Subclasses:
Graph4State, StepChart

public class Graph
extends Analyzer

2D graph. axis x is time.

Version:
$Id: Graph.java,v 1.6 2007/01/15 01:20:35 nsarai Exp $
Author:
Nobuaki Sarai

Field Summary
 AxisX axisX
          horizontal axis
 AxisY axisY
          vertical axis
 double interval
          time interval to plot
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
Graph()
           
 
Method Summary
protected  void analyze(double t)
          plot targets.
protected  void prepare()
          set link to the targets.
protected  void setLinks()
          link to the Viewer, and count number of the target, get array.
 
Methods inherited from class org.simBio.core.Composite
accept, getLink, getNode, getNodesIterator, getNodesSize
 
Methods inherited from class org.simBio.core.Parameter
addValue, getValue, getValueString, setInitializer, setValue, setValueString, setValueToField
 
Methods inherited from class org.simBio.core.Component
addDydt, end, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented, quit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.simBio.core.Node
addDydt, addValue, getValue, setValue
 

Field Detail

axisX

public AxisX axisX
horizontal axis


axisY

public AxisY axisY
vertical axis


interval

public double interval
time interval to plot

Constructor Detail

Graph

public Graph()
Method Detail

setLinks

protected void setLinks()
link to the Viewer, and count number of the target, get array.

Overrides:
setLinks in class Component
See Also:
Component.setLinks()

prepare

protected void prepare()
set link to the targets.

Overrides:
prepare in class Parameter
See Also:
Component.prepare()

analyze

protected void analyze(double t)
plot targets.

Specified by:
analyze in class Analyzer
Parameters:
t - time
See Also:
Analyzer.analyze(double)


Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.