33 #ifndef ACADO_TOOLKIT_PLOT_WINDOW_HPP 34 #define ACADO_TOOLKIT_PLOT_WINDOW_HPP 160 const char*
const title_
172 const char*
const xLabel_
184 const char*
const yLabel_
330 const char*
const _title =
"",
331 const char*
const _xLabel =
"",
332 const char*
const _yLabel =
"",
334 double _xRangeLowerLimit =
INFTY,
335 double _xRangeUpperLimit =
INFTY,
336 double _yRangeLowerLimit =
INFTY,
337 double _yRangeUpperLimit =
INFTY 360 const char*
const _title =
"",
361 const char*
const _xLabel =
"",
362 const char*
const _yLabel =
"",
364 double _xRangeLowerLimit =
INFTY,
365 double _xRangeUpperLimit =
INFTY,
366 double _yRangeLowerLimit =
INFTY,
367 double _yRangeUpperLimit =
INFTY 388 const char*
const _title =
"",
389 const char*
const _xLabel =
"",
390 const char*
const _yLabel =
"",
392 double _xRangeLowerLimit =
INFTY,
393 double _xRangeUpperLimit =
INFTY,
394 double _yRangeLowerLimit =
INFTY,
395 double _yRangeUpperLimit =
INFTY 416 const char*
const _title =
"",
417 const char*
const _xLabel =
"",
418 const char*
const _yLabel =
"",
420 double _xRangeLowerLimit =
INFTY,
421 double _xRangeUpperLimit =
INFTY,
422 double _yRangeLowerLimit =
INFTY,
423 double _yRangeUpperLimit =
INFTY 444 const char*
const _title =
"",
445 const char*
const _xLabel =
"",
446 const char*
const _yLabel =
"",
448 double _xRangeLowerLimit =
INFTY,
449 double _xRangeUpperLimit =
INFTY,
450 double _yRangeLowerLimit =
INFTY,
451 double _yRangeUpperLimit =
INFTY 472 double _xRangeLowerLimit = 0.0,
473 double _xRangeUpperLimit = 1.0,
474 const char*
const _title =
"",
475 const char*
const _xLabel =
"",
476 const char*
const _yLabel =
"",
478 double _yRangeLowerLimit =
INFTY,
479 double _yRangeUpperLimit =
INFTY 680 Grid& _discretizationGrid
697 Grid& _discretizationGrid
713 Grid& _discretizationGrid
775 #include <acado/user_interaction/plot_window.ipp> 778 #endif // ACADO_TOOLKIT_PLOT_WINDOW_HPP returnValue enableNominalOutputs()
virtual returnValue replot(PlotFrequency _frequency=PLOT_IN_ANY_CASE)
virtual returnValue addLine(uint idx, double _lineValue)
uint getNumSubplots() const
virtual PlotWindow * clone() const
virtual returnValue plot(PlotFrequency _frequency=PLOT_IN_ANY_CASE)
virtual returnValue setLabelX(uint idx, const char *const xLabel_)
Provides a generic way to plot algorithmic outputs during runtime.
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to pass back messages to the calling function.
virtual returnValue setTitle(uint idx, const char *const title_)
LogName convertPlotToLogName(PlotName _name) const
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
returnValue enableNominalControls()
returnValue getVariableDataGrids(const Expression *const variable, VariableType &_type, VariablesGrid &_dataGrid, Grid &_discretizationGrid)
Allows to conveniently handle (one-dimensional) grids consisting of time points.
returnValue setNext(PlotWindow *const _next)
PlotWindowSubplot * first
BooleanType shallPlotNominalControls
#define CLOSE_NAMESPACE_ACADO
returnValue disableNominalControls()
returnValue addSubplot(PlotWindowSubplot &_subplot)
BooleanType isEmpty() const
returnValue enableNominalParameters()
Base class for all variables within the symbolic expressions family.
Allows to setup and plot user-specified plot windows for algorithmic outputs.
returnValue getExpressionDataGrids(const Expression *const expression, VariableType &_type, VariablesGrid &_dataGrid, Grid &_discretizationGrid)
PlotWindow & operator=(const PlotWindow &rhs)
virtual returnValue setRanges(uint idx, double xRange1, double xRange2, double yRange1, double yRange2)
PlotWindow * getNext() const
returnValue addSubplot3D(const VariablesGrid &_variable, const char *const _title="", const char *const _xLabel="", const char *const _yLabel="", PlotMode _plotMode=PM_UNKNOWN, double _xRangeLowerLimit=INFTY, double _xRangeUpperLimit=INFTY, double _yRangeLowerLimit=INFTY, double _yRangeUpperLimit=INFTY)
returnValue operator<<(PlotWindowSubplot &_subplot)
returnValue disableNominalParameters()
virtual returnValue setPlotMode(uint idx, PlotMode plotMode)
virtual returnValue setLabelY(uint idx, const char *const yLabel_)
returnValue setAliasIdx(int _aliasIdx)
returnValue getPlotDataRecord(LogRecord &_record) const
virtual returnValue init()
Allows to work with piecewise-continous function defined over a scalar time interval.
void rhs(const real_t *x, real_t *f)
returnValue setPlotDataRecord(LogRecord &_record)
virtual returnValue addData(uint idx, const VariablesGrid &_newData)
returnValue addPlotDataItem(VariableType _type)
Allows to manage sub-windows of user-specified plot windows for algorithmic outputs (for internal use...
returnValue setupLogFrequency(PlotFrequency _frequency=PLOT_AT_EACH_ITERATION)
BooleanType shallPlotNominalOutputs
BooleanType isAlias() const
returnValue clearAllSubplots()
Allows to setup and store user-specified log records of algorithmic information.
Provides a generic list of plot windows (for internal use).
#define BEGIN_NAMESPACE_ACADO
BooleanType shallPlotNominalParameters
PlotFrequency getPlotFrequency() const
returnValue getDataGrids(const VariablesGrid *const variablesGrid, VariableType &_type, VariablesGrid &_dataGrid, Grid &_discretizationGrid)
returnValue setPlotData(const Expression &_name, VariablesGrid &value)
returnValue disableNominalOutputs()
PlotName convertLogToPlotName(LogName _name) const
PlotWindowSubplot & operator()(uint idx)
returnValue getAutoScaleYLimits(const VariablesGrid &dataGridY, PlotFormat plotFormat, double &lowerLimit, double &upperLimit) const