|  | RobWorkProject
    23.9.11-
    | 
Representation of the Mathematica ListPlot function. More...
#include <ListPlot.hpp>
Inherits Mathematica::FunctionBase.
| Public Types | |
| typedef rw::core::Ptr< ListPlot > | Ptr | 
| Smart pointer type. | |
|  Public Types inherited from Mathematica::FunctionBase | |
| typedef rw::core::Ptr< FunctionBase > | Ptr | 
| Smart pointer type. | |
|  Public Types inherited from Mathematica::Expression | |
| enum | Type { String , Integer , Real , Symbol , Function , Array } | 
| Type of expression.  More... | |
| typedef rw::core::Ptr< Expression > | Ptr | 
| Smart pointer type. | |
| typedef enum rwlibs::mathematica::Mathematica::Expression::Type | Type | 
| Type of expression. | |
| Public Member Functions | |
| ListPlot (const Mathematica::Expression &data) | |
| Construct a ListPlot expression.  More... | |
| ListPlot (const Mathematica::Expression &data, const std::list< Mathematica::Expression::Ptr > &options) | |
| Construct a ListPlot expression.  More... | |
| ListPlot (const std::vector< double > &x, const std::vector< double > &y, const std::list< Mathematica::Expression::Ptr > &options=std::list< Mathematica::Expression::Ptr >()) | |
| Construct a ListPlot expression.  More... | |
| template<typename... Option> | |
| ListPlot (const std::initializer_list< std::initializer_list< double >> &data, const Option &... options) | |
| Construct a ListPlot expression.  More... | |
| virtual | ~ListPlot () | 
| Destructor. | |
| virtual std::list< rw::core::Ptr< const Mathematica::Expression > > | getArguments () const | 
| Get a list of arguments for this function.  More... | |
| virtual Mathematica::Expression::Ptr | clone () const | 
| Make a copy of the expression.  More... | |
| void | option (const std::string &name, const Mathematica::Expression &value) | 
| Set an option.  More... | |
| void | setImageSize (int width, int height) | 
| Set the image size option.  More... | |
|  Public Member Functions inherited from Mathematica::FunctionBase | |
| FunctionBase (const std::string &name) | |
| Construct new function.  More... | |
| std::string | getName () const | 
| Get the name of the function.  More... | |
| Type | getType () const | 
| Get the type of expression.  More... | |
| virtual void | out (std::ostream &stream) const | 
| Print to output stream.  More... | |
| virtual void | out (std::ostream &stream, std::size_t indent) const | 
| Print function by using indentations.  More... | |
| Static Public Member Functions | |
| static ListPlot | fromExpression (const Mathematica::Expression &expression) | 
| Construct ListPlot from existing expression.  More... | |
| Additional Inherited Members | |
|  Static Protected Member Functions inherited from Mathematica::Expression | |
| template<typename Type > | |
| static void | toList (std::list< rw::core::Ptr< Type >> &) | 
| Helper function for extracting a list of arguments when given as a variable number of arguments.  More... | |
| template<typename Type , typename Exp , typename... T> | |
| static void | toList (std::list< rw::core::Ptr< Type >> &list, const Exp &r, T... t) | 
| Helper function for extracting a list of arguments when given as a variable number of arguments.  More... | |
|  Protected Attributes inherited from Mathematica::FunctionBase | |
| std::string | _name | 
| Name of the function. | |
Representation of the Mathematica ListPlot function.
| ListPlot | ( | const Mathematica::Expression & | data | ) | 
Construct a ListPlot expression.
| data | [in] the data expression (e.g. a variable name, table/list expression, or data array). | 
| ListPlot | ( | const Mathematica::Expression & | data, | 
| const std::list< Mathematica::Expression::Ptr > & | options | ||
| ) | 
Construct a ListPlot expression.
| data | [in] the data expression (e.g. a variable name, table/list expression, or data array). | 
| options | [in] the options to use (such as PlotRange, AxesLabels etc.) | 
| ListPlot | ( | const std::vector< double > & | x, | 
| const std::vector< double > & | y, | ||
| const std::list< Mathematica::Expression::Ptr > & | options = std::list< Mathematica::Expression::Ptr >() | ||
| ) | 
Construct a ListPlot expression.
| x | [in] a list of x-values. | 
| y | [in] a list of y-values. | 
| options | [in] (optional) the options to use (such as PlotRange, AxesLabels etc.) | 
| 
 | inline | 
Construct a ListPlot expression.
| data | [in] the data expression (e.g. a variable name, table/list expression, or data array). | 
| options | [in] the options to use (such as PlotRange, AxesLabels etc.) | 
| 
 | virtual | 
| 
 | static | 
Construct ListPlot from existing expression.
| expression | [in] the expression to parse as ListPlot. | 
| rw::core::Exception | if parsing fails. | 
| 
 | virtual | 
Get a list of arguments for this function.
Implements Mathematica::FunctionBase.
| void option | ( | const std::string & | name, | 
| const Mathematica::Expression & | value | ||
| ) | 
Set an option.
| name | [in] the name of the option. | 
| value | [in] the value to set. | 
| void setImageSize | ( | int | width, | 
| int | height | ||
| ) | 
Set the image size option.
| width | [in] the width. | 
| height | [in] the height. |