60 parabola << t*t/
M_PI - 3.0*t + 2.0*
M_PI;
69 c2.
add( 0.0, 2.0*
M_PI, cosine );
71 c3.
add( 0.0, 1.0, ramp1 );
72 c3.
add( 1.0, 2.0, ramp2 );
73 c3.
add( 2.0, 3.0, ramp3 );
85 window.
addSubplot( c3, 0.0,3.0,
"Sampled ramp function" );
USING_NAMESPACE_ACADO IntermediateState sin(const Expression &arg)
Allows to setup and evaluate a general function based on SymbolicExpressions.
virtual returnValue plot(PlotFrequency _frequency=PLOT_IN_ANY_CASE)
returnValue add(double tStart, double tEnd, const DVector constant)
#define USING_NAMESPACE_ACADO
returnValue addSubplot(PlotWindowSubplot &_subplot)
IntermediateState cos(const Expression &arg)
Allows to work with piecewise-continous function defined over a scalar time interval.
Provides an interface to Gnuplot for plotting algorithmic outputs.