figure
Class GraphicalFunction

java.lang.Object
  extended byfigure.Plotable
      extended byfigure.GraphicalFunction

public class GraphicalFunction
extends Plotable


Constructor Summary
GraphicalFunction(Function f, double[] p)
           
 
Method Summary
 void plot(java.awt.Graphics2D g, BoundingBox bbox, java.awt.geom.AffineTransform transform)
           
 void setDomain(double xp0, double xp1)
           
 void setSteps(int s)
           
 void setStroke(java.awt.Stroke s)
           
 
Methods inherited from class figure.Plotable
setColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicalFunction

public GraphicalFunction(Function f,
                         double[] p)
Method Detail

setSteps

public void setSteps(int s)

setStroke

public void setStroke(java.awt.Stroke s)

setDomain

public void setDomain(double xp0,
                      double xp1)

plot

public void plot(java.awt.Graphics2D g,
                 BoundingBox bbox,
                 java.awt.geom.AffineTransform transform)
Specified by:
plot in class Plotable