|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.transformer.plotgenerator.AbstractPlotGenerator
adams.flow.transformer.plotgenerator.XYPlotGenerator
public class XYPlotGenerator
Uses one column for the X value and one or more other columns as Y to plot against.
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-default-cell-value <double> (property: defaultCellValue) The default value for missing or non-numeric cells. default: -1.0
-columns <java.lang.String> (property: plotColumns)
The range of columns to include in the plot; A range is a comma-separated
list of single 1-based indices or sub-ranges of indices ('start-end'); '
inv(...)' inverts the range '...'; the following placeholders can be used
as well: first, second, third, last_2, last_1, last
default:
-x-column <java.lang.String> (property: XColumn) The (optional) index of the column which values to use as X values in the plot; An index is a number starting with 1; apart from column names (case-sensitive ), the following placeholders can be used as well: first, second, third, last_2, last_1, last default:
-prefix-columns <adams.data.spreadsheet.SpreadSheetColumnRange> (property: prefixColumns)
The range of columns to prefix the plot name with; A range is a comma-separated
list of single 1-based indices or sub-ranges of indices ('start-end'); '
inv(...)' inverts the range '...'; the following placeholders can be used
as well: first, second, third, last_2, last_1, last
default:
-separator <java.lang.String> (property: separator) The separator to use between columns. default:
| Field Summary | |
|---|---|
protected SpreadSheetColumnRange |
m_PlotColumns
the columns to plot. |
protected SpreadSheetColumnRange |
m_PrefixColumns
the columns to prefix the plot name with. |
protected String |
m_Separator
the separator string. |
protected SpreadSheetColumnIndex |
m_XColumn
the (optional) column to use as X value. |
| Fields inherited from class adams.flow.transformer.plotgenerator.AbstractPlotGenerator |
|---|
m_DefaultCellValue, MISSING_CELL_VALUE |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
XYPlotGenerator()
|
|
| Method Summary | |
|---|---|
protected void |
check(SpreadSheet sheet)
Checks the spreadsheet. |
void |
defineOptions()
Adds options to the internal list of options. |
protected List<SequencePlotterContainer> |
doGenerate(SpreadSheet sheet)
Performs the actual generation of containers. |
String |
getPlotColumns()
Returns the current column range to use in the plot. |
SpreadSheetColumnRange |
getPrefixColumns()
Returns the current column range to generate the prefix of the plot with. |
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI. |
String |
getSeparator()
Returns the separator in use between columns. |
String |
getXColumn()
Returns the index of the column which values to use as X values. |
String |
globalInfo()
Returns a string describing the object. |
protected void |
initialize()
Initializes the members. |
String |
plotColumnsTipText()
Returns the tip text for this property. |
String |
prefixColumnsTipText()
Returns the tip text for this property. |
String |
separatorTipText()
Returns the tip text for this property. |
void |
setPlotColumns(String value)
Sets the column range to use in the plot. |
void |
setPrefixColumns(SpreadSheetColumnRange value)
Sets the column range to generate the prefix of the plot with. |
void |
setSeparator(String value)
Missing tooltip: adams.flow.transformer.plotgenerator.XYPlotGenerator.separatorTipText Sets the separator to use between columns. |
void |
setXColumn(String value)
Sets the index of the column which values to use as X values. |
String |
XColumnTipText()
Returns the tip text for this property. |
| Methods inherited from class adams.flow.transformer.plotgenerator.AbstractPlotGenerator |
|---|
defaultCellValueTipText, generate, getCellString, getCellValue, getDefaultCellValue, setDefaultCellValue |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected SpreadSheetColumnRange m_PlotColumns
protected SpreadSheetColumnIndex m_XColumn
protected SpreadSheetColumnRange m_PrefixColumns
protected String m_Separator
| Constructor Detail |
|---|
public XYPlotGenerator()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractPlotGeneratorprotected void initialize()
initialize in class AbstractOptionHandlerpublic String getQuickInfo()
getQuickInfo in interface QuickInfoSupportergetQuickInfo in class AbstractPlotGeneratorpublic void setPlotColumns(String value)
value - the column rangepublic String getPlotColumns()
public String plotColumnsTipText()
public void setXColumn(String value)
value - the column indexpublic String getXColumn()
public String XColumnTipText()
public void setPrefixColumns(SpreadSheetColumnRange value)
value - the column rangepublic SpreadSheetColumnRange getPrefixColumns()
public String prefixColumnsTipText()
public void setSeparator(String value)
value - the separatorpublic String getSeparator()
public String separatorTipText()
protected void check(SpreadSheet sheet)
check in class AbstractPlotGeneratorsheet - the sheet to checkprotected List<SequencePlotterContainer> doGenerate(SpreadSheet sheet)
doGenerate in class AbstractPlotGeneratorsheet - the basis for the containers
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||