org.math.plot.plotObjects
Class BasePlot

java.lang.Object
  extended by org.math.plot.plotObjects.BasePlot
All Implemented Interfaces:
BaseDependant

public class BasePlot
extends Object
implements BaseDependant


Field Summary
protected  Axe[] axes
           
protected  Base base
           
protected  Color color
           
static Color DEFAULT_COLOR
           
protected  boolean visible
           
 
Constructor Summary
BasePlot(Base b, Color c, Axe... a)
           
BasePlot(Base b, Color c, String... as)
           
BasePlot(Base b, String... as)
           
 
Method Summary
 Axe getAxe(int i)
           
 Axe[] getAxes()
           
 Color getColor()
           
 String[] getLegend()
           
 String getLegend(int i)
           
 boolean getVisible()
           
 void plot(AbstractDrawer draw)
           
 void resetBase()
           
 void setBase(Base b)
           
 void setColor(Color c)
           
 void setGridVisible(int i, boolean v)
           
 void setLegend(int i, String as)
           
 void setLegend(String[] as)
           
 void setVisible(boolean v)
           
 void setVisible(int i, boolean v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_COLOR

public static Color DEFAULT_COLOR

base

protected Base base

axes

protected Axe[] axes

visible

protected boolean visible

color

protected Color color
Constructor Detail

BasePlot

public BasePlot(Base b,
                String... as)

BasePlot

public BasePlot(Base b,
                Color c,
                Axe... a)

BasePlot

public BasePlot(Base b,
                Color c,
                String... as)
Method Detail

setVisible

public void setVisible(boolean v)

setVisible

public void setVisible(int i,
                       boolean v)

setGridVisible

public void setGridVisible(int i,
                           boolean v)

getVisible

public boolean getVisible()

setColor

public void setColor(Color c)

getColor

public Color getColor()

setLegend

public void setLegend(String[] as)

setLegend

public void setLegend(int i,
                      String as)

getLegend

public String[] getLegend()

getLegend

public String getLegend(int i)

setBase

public void setBase(Base b)

plot

public void plot(AbstractDrawer draw)

getAxe

public Axe getAxe(int i)

getAxes

public Axe[] getAxes()

resetBase

public void resetBase()
Specified by:
resetBase in interface BaseDependant