org.simBio.sim.analyzer.graph
Class RelationGraph

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.VisualizeAnalyzer
                      extended by org.simBio.sim.analyzer.graph.AbstractGraph
                          extended by org.simBio.sim.analyzer.graph.BasicGraph
                              extended by org.simBio.sim.analyzer.graph.RelationGraph
All Implemented Interfaces:
Node

public class RelationGraph
extends BasicGraph

2D graph of relation between two parameters.

Notice

Version:
$Id: RelationGraph.java,v 1.3 2007/04/23 09:05:46 nsarai Exp $
Author:
Kenta Hori

Field Summary
protected static Log log
           
 
Fields inherited from class org.simBio.sim.analyzer.graph.BasicGraph
container, graphics2d, values
 
Fields inherited from class org.simBio.sim.analyzer.graph.AbstractGraph
axisX, axisY, interval, maxTime, nextTime, nTarget, nTargetOrigin, page, plotDisplay, plotPrinter, target, targetName, targetScale, targetShortName, thisGraph, valuesBuffer
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
RelationGraph()
           
 
Method Summary
protected  void analyzeSub(double t, double[] valuesBuffer, IPlot plot)
          Plot targets.
protected  void paintGraphSub(java.awt.Graphics2D graphics2d, IPlot plot)
          Performs graph drawing. Faithfully plots the value of each instant.
protected  void setLinks()
          Link to the Viewer, AxisX, AxisY and count number of the target, get array.
 
Methods inherited from class org.simBio.sim.analyzer.graph.BasicGraph
getTimeMax, getTimeMin, getTimeSeries, paintGraph, prepare, printGraph, quit, resetBuffer, resize
 
Methods inherited from class org.simBio.sim.analyzer.graph.AbstractGraph
analyze, changeScale, doRepaint, drawLine, drawPoint, paintAxises, paintBackground, paintComponent, paintLegend, prepareRepaint, printAxises, printBackground, printComponent, printLegend, setAreaChanged
 
Methods inherited from class org.simBio.sim.analyzer.VisualizeAnalyzer
getColorParameter, getDouble, getFontParameter, getNodeHierarchically, getNodeRecursive, repaint
 
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
 
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

log

protected static Log log
Constructor Detail

RelationGraph

public RelationGraph()
Method Detail

setLinks

protected void setLinks()
Description copied from class: AbstractGraph
Link to the Viewer, AxisX, AxisY and count number of the target, get array.

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

analyzeSub

protected void analyzeSub(double t,
                          double[] valuesBuffer,
                          IPlot plot)
Plot targets.

Overrides:
analyzeSub in class BasicGraph
Parameters:
t - time
valuesBuffer - array of calculation results
plot - drawing operation object
See Also:
AbstractGraph.analyzeSub(double, double[], org.simBio.sim.analyzer.graph.plot.IPlot)

paintGraphSub

protected void paintGraphSub(java.awt.Graphics2D graphics2d,
                             IPlot plot)
Description copied from class: BasicGraph
Performs graph drawing. Faithfully plots the value of each instant.

Overrides:
paintGraphSub in class BasicGraph
Parameters:
graphics2d - Graphics drawing object
plot - drawing operation object


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