public class Plot extends MainTask
Modifier and Type | Class and Description |
---|---|
static class |
Plot.LegendLocation
Location of the legend on the plot.
|
static class |
Plot.LegendType
Type of legend.
|
static class |
Plot.PlotStyle |
static class |
Plot.Terminal
Plot output terminal.
|
Modifier and Type | Field and Description |
---|---|
StringOption |
additionalPlotOption
Additional plot options.
|
StringOption |
additionalSetOption
Addition pre-plot gunplot commands.
|
FlagOption |
deleteScriptsOption
Determines whether to delete gnuplot scripts after plotting.
|
ListOption |
fileAliasesOption
Comma separated list of aliases for the input *csv files.
|
StringOption |
gnuplotPathOption
Path to gunplot's binary directory, for example C:\Tools\Gnuplot\binary.
|
ListOption |
inputFilesOption
Comma separated list of input *csv files.
|
MultiChoiceOption |
legendLocationOption
Legend (key) location on the plot.
|
MultiChoiceOption |
legendTypeOption
Legend elements' alignment.
|
IntOption |
lineWidthOption
Plotted line width.
|
MultiChoiceOption |
outputTypeOption
Gnuplot terminal - postscript, png, pdf etc.
|
FileOption |
plotOutputOption
FileOption for selecting the plot output file.
|
MultiChoiceOption |
plotStyleOption
Type of plot - dots, points, lines ets.
|
IntOption |
pointIntervalOption
Interval between plotted data points.
|
FlagOption |
smoothOption
Determines whether to smooth the plot with bezier curves.
|
IntOption |
xColumnOption
Index of the csv column from which values for the x-axis should be taken.
|
StringOption |
xTitleOption
Title of the plots' x-axis.
|
StringOption |
xUnitOption
Units displayed next to x-axis values.
|
IntOption |
yColumnOption
Index of the csv column from which values for the y-axis should be taken.
|
StringOption |
yTitleOption
Title of the plots' y-axis.
|
StringOption |
yUnitOption
Units displayed next to y-axis values.
|
INSTANCES_BETWEEN_MONITOR_UPDATES, outputFileOption
classOptionNamesToPreparedObjects, options
Constructor and Description |
---|
Plot() |
Modifier and Type | Method and Description |
---|---|
protected Object |
doMainTask(TaskMonitor monitor,
ObjectRepository repository)
This method performs this task.
|
String |
getPurposeString()
Gets the purpose of this object
|
Class<?> |
getTaskResultType()
Defines the task's result type.
|
doTaskImpl
doTask, doTask, getDescription, getTaskName, prepareForUseImpl
copy, discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, measureByteSize
public StringOption gnuplotPathOption
public FileOption plotOutputOption
public ListOption inputFilesOption
public ListOption fileAliasesOption
public MultiChoiceOption outputTypeOption
public MultiChoiceOption plotStyleOption
public IntOption xColumnOption
public StringOption xTitleOption
public StringOption xUnitOption
public IntOption yColumnOption
public StringOption yTitleOption
public StringOption yUnitOption
public IntOption lineWidthOption
public IntOption pointIntervalOption
public FlagOption smoothOption
public FlagOption deleteScriptsOption
public MultiChoiceOption legendLocationOption
public MultiChoiceOption legendTypeOption
public StringOption additionalSetOption
public StringOption additionalPlotOption
public String getPurposeString()
OptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class AbstractOptionHandler
public Class<?> getTaskResultType()
protected Object doMainTask(TaskMonitor monitor, ObjectRepository repository)
MainTask
AbstractTask
implements doTask
,
that uses doTaskImpl
.
MainTask
implements doTaskImpl
using
doMainTask
so its extensions only need to implement
doMainTask
.doMainTask
in class MainTask
monitor
- the TaskMonitor to userepository
- the ObjectRepository to useCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.