|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unidu.is.gnuplot.Source
An abstract class describing a single plot curve. Therefore, a
gnuplot expression defining the function or data file for the
gnuplot plot
command has to be specified as well as
the "title" of the curve.
Furthermore, the minimum and maximum value for the x-axis of this curve
can be specified (for the mind.evalution.gnuplot.GnuPlot
instance). By default, both values are 0
, thus they are
ignored.
This class has to be subclassed for specific application areas.
Field Summary | |
protected double |
max
The maximum value for the x-axis (default is 0 ). |
protected double |
min
The minimum value for the x-axis (default is 0 ). |
protected java.lang.String |
title
The title of this curve. |
Constructor Summary | |
Source()
Creates a new, empty instance. |
|
Source(java.lang.String title)
Creates a new, empty instance and sets the title. |
Method Summary | |
abstract java.lang.String |
getCommand()
Returns a gnuplot expression defining the function or data file for the gnuplot plot command.
|
double |
getMax()
Returns the maximum value for the x-axis. |
double |
getMin()
Returns the minimum value for the x-axis. |
java.lang.String |
getTitle()
Returns the title of the curve. |
void |
setMax(double max)
Sets the maximum value for the x-axis. |
void |
setMin(double min)
Sets the minimum value for the x-axis. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected double min
0
).
protected double max
0
).
protected java.lang.String title
Constructor Detail |
public Source()
public Source(java.lang.String title)
title
- title of this plotMethod Detail |
public abstract java.lang.String getCommand()
plot
command.
This method has to be overridden in subclasses.
public java.lang.String getTitle()
public void setMin(double min)
min
- minimum value for the x-axispublic double getMin()
public void setMax(double max)
max
- maximum value for the x-axispublic double getMax()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |