plotpp::Impulses
Inherits from plotpp::IPlot
Public Functions
| Name | |
|---|---|
| Impulses(optional_ptr< Tx > x, optional_ptr< Ty > y) | |
| Impulses(Impulses const & ) =default | |
| Impulses(Impulses && ) =default | |
| Impulses & | operator=(Impulses const & ) =default |
| Impulses & | operator=(Impulses && ) =default |
| LineType | lineType() const |
| Impulses & | lineType(LineType lt) |
| Impulses && | lineType(LineType lt) |
| float | lineWidth() const |
| Impulses & | lineWidth(float lw) |
| Impulses && | lineWidth(float lw) |
| Color | color() const |
| Impulses & | color(Color col) |
| Impulses && | color(Color col) |
| bool | isAutoColor() const |
| Impulses & | setAutoColor() |
| Impulses && | setAutoColor() |
| virtual void | printPlot(FILE * fptr) const override |
| virtual void | printData(FILE * fptr) const override |
| Impulses & | label(const char * label) |
| Impulses && | label(const char * label) |
| Impulses & | label(std::string_view label) |
| Impulses && | label(std::string_view label) |
| Impulses & | label(std::string && label) |
| Impulses && | label(std::string && label) |
Public Attributes
| Name | |
|---|---|
| optional_ptr< Tx > | x_ |
| optional_ptr< Ty > | y_ |
| std::optional< Color > | opt_color |
| LineType | line_type |
| float | line_width |
Additional inherited members
Public Functions inherited from plotpp::IPlot
| Name | |
|---|---|
| IPlot() =default | |
| IPlot(std::string label) | |
| virtual | ~IPlot() |
| virtual void | printSettings(std::ostream & stream) const =delete |
| virtual void | printSettings(FILE * fptr) const |
Protected Functions inherited from plotpp::IPlot
| Name | |
|---|---|
| virtual IPlot & | uid(size_t & uid_io) |
| size_t | uid() const |
Friends inherited from plotpp::IPlot
| Name | |
|---|---|
| class | Figure |
Detailed Description
template <ForwardRange Tx,
ForwardRange Ty>
class plotpp::Impulses;
Public Functions Documentation
function Impulses
inline Impulses(
optional_ptr< Tx > x,
optional_ptr< Ty > y
)
function Impulses
Impulses(
Impulses const &
) =default
function Impulses
Impulses(
Impulses &&
) =default
function operator=
Impulses & operator=(
Impulses const &
) =default
function operator=
Impulses & operator=(
Impulses &&
) =default
function lineType
inline LineType lineType() const
function lineType
inline Impulses & lineType(
LineType lt
)
function lineType
inline Impulses && lineType(
LineType lt
)
function lineWidth
inline float lineWidth() const
function lineWidth
inline Impulses & lineWidth(
float lw
)
function lineWidth
inline Impulses && lineWidth(
float lw
)
function color
inline Color color() const
function color
inline Impulses & color(
Color col
)
function color
inline Impulses && color(
Color col
)
function isAutoColor
inline bool isAutoColor() const
function setAutoColor
inline Impulses & setAutoColor()
function setAutoColor
inline Impulses && setAutoColor()
function printPlot
inline virtual void printPlot(
FILE * fptr
) const override
Reimplements: plotpp::IPlot::printPlot
function printData
inline virtual void printData(
FILE * fptr
) const override
Reimplements: plotpp::IPlot::printData
function label
inline Impulses & label(
const char * label
)
function label
inline Impulses && label(
const char * label
)
function label
inline Impulses & label(
std::string_view label
)
function label
inline Impulses && label(
std::string_view label
)
function label
inline Impulses & label(
std::string && label
)
function label
inline Impulses && label(
std::string && label
)
Public Attributes Documentation
variable x_
optional_ptr< Tx > x_;
variable y_
optional_ptr< Ty > y_;
variable opt_color
std::optional< Color > opt_color = std::nullopt;
variable line_type
LineType line_type = LineType::solid;
variable line_width
float line_width = 1.5;
Updated on 2025-03-11 at 16:08:10 +0100