|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.gnuplot.Source
de.unidu.is.gnuplot.FileSource
An class describing a single plot curve, defined by a data file for the
gnuplot plot.
| Field Summary | |
protected java.lang.String |
filename
The name (absolute or relative) of the data output file. |
protected boolean |
nosmooth
Flag indicating if the curve has to be smoothed. |
| Fields inherited from class de.unidu.is.gnuplot.Source |
max, min, title |
| Constructor Summary | |
FileSource(java.lang.String title,
java.io.File file)
Creates a new instance. |
|
FileSource(java.lang.String title,
java.lang.String filename)
Creates a new instance. |
|
| Method Summary | |
java.lang.String |
getCommand()
Creates the datafile and returns a gnuplot expression defining the data file for the gnuplot plot command (with
smooth unique is set). |
java.lang.String |
getFilename()
Returns the name (absolute or relative) of the data output file. |
boolean |
isSmooth()
Tests whether the curve has to be smoothed. |
void |
setFilename(java.lang.String filename)
Sets the name (absolute or relative) of the data output file. |
void |
setSmooth(boolean smooth)
Specifies whether the curve has to be smoothed. |
| Methods inherited from class de.unidu.is.gnuplot.Source |
getMax, getMin, getTitle, setMax, setMin |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String filename
protected boolean nosmooth
| Constructor Detail |
public FileSource(java.lang.String title,
java.lang.String filename)
title - title of this curve, or nullfilename - name of the corresponding file with data points
public FileSource(java.lang.String title,
java.io.File file)
title - title of this curve, or nullfile - corresponding file with data points| Method Detail |
public void setFilename(java.lang.String filename)
filename - name of the data output filepublic java.lang.String getFilename()
public void setSmooth(boolean smooth)
smooth - if true, the curve will be smoothedpublic boolean isSmooth()
public java.lang.String getCommand()
plot command (with
smooth unique is set).
getCommand in class Source
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||