Skip to content

plotpp::Steps

More...

Inherits from plotpp::IPlot

Public Functions

Name
Steps(optional_ptr< Tx > x, optional_ptr< Ty > y)
Steps(Steps const & ) =default
Steps(Steps && ) =default
Steps & operator=(Steps const & ) =default
Steps & operator=(Steps && ) =default
LineType lineType() const
Steps & lineType(LineType lt)
Steps && lineType(LineType lt)
float lineWidth() const
Steps & lineWidth(float lw)
Steps && lineWidth(float lw)
Color lineColor() const
Steps & lineColor(Color col)
Steps && lineColor(Color col)
Steps & lineColor(float r, float g, float b)
Steps && lineColor(float r, float g, float b)
Color fillColor() const
Steps & fillColor(Color col)
Steps && fillColor(Color col)
Steps & fillColor(float r, float g, float b)
Steps && fillColor(float r, float g, float b)
Steps & color(Color col)
Steps && color(Color col)
Steps & color(float r, float g, float b)
Steps && color(float r, float g, float b)
Steps & autoLineColor()
Steps && autoLineColor()
Steps & autoFillColor()
Steps && autoFillColor()
Steps & autoColor()
Steps && autoColor()
Steps & fill(float opacity =0.3)
Steps && fill(float opacity =0.3)
Steps & fillPattern(int n)
Steps && fillPattern(int n)
Steps & noFill()
Steps && noFill()
bool isFilled() const
virtual void printPlot(FILE * fptr) const override
virtual void printData(FILE * fptr) const override
Steps & label(const char * label)
Steps && label(const char * label)
Steps & label(std::string_view label)
Steps && label(std::string_view label)
Steps & label(std::string && label)
Steps && label(std::string && label)

Public Attributes

Name
optional_ptr< Tx > x_
optional_ptr< Ty > y_
std::optional< Color > opt_line_color
std::optional< Color > opt_fill_color
LineType line_type
float line_width
FillStyle fill_style

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::Steps;

Public Functions Documentation

function Steps

inline Steps(
    optional_ptr< Tx > x,
    optional_ptr< Ty > y
)

function Steps

Steps(
    Steps const & 
) =default

function Steps

Steps(
    Steps && 
) =default

function operator=

Steps & operator=(
    Steps const & 
) =default

function operator=

Steps & operator=(
    Steps && 
) =default

function lineType

inline LineType lineType() const

function lineType

inline Steps & lineType(
    LineType lt
)

function lineType

inline Steps && lineType(
    LineType lt
)

function lineWidth

inline float lineWidth() const

function lineWidth

inline Steps & lineWidth(
    float lw
)

function lineWidth

inline Steps && lineWidth(
    float lw
)

function lineColor

inline Color lineColor() const

function lineColor

inline Steps & lineColor(
    Color col
)

function lineColor

inline Steps && lineColor(
    Color col
)

function lineColor

inline Steps & lineColor(
    float r,
    float g,
    float b
)

function lineColor

inline Steps && lineColor(
    float r,
    float g,
    float b
)

function fillColor

inline Color fillColor() const

function fillColor

inline Steps & fillColor(
    Color col
)

function fillColor

inline Steps && fillColor(
    Color col
)

function fillColor

inline Steps & fillColor(
    float r,
    float g,
    float b
)

function fillColor

inline Steps && fillColor(
    float r,
    float g,
    float b
)

function color

inline Steps & color(
    Color col
)

function color

inline Steps && color(
    Color col
)

function color

inline Steps & color(
    float r,
    float g,
    float b
)

function color

inline Steps && color(
    float r,
    float g,
    float b
)

function autoLineColor

inline Steps & autoLineColor()

function autoLineColor

inline Steps && autoLineColor()

function autoFillColor

inline Steps & autoFillColor()

function autoFillColor

inline Steps && autoFillColor()

function autoColor

inline Steps & autoColor()

function autoColor

inline Steps && autoColor()

function fill

inline Steps & fill(
    float opacity =0.3
)

function fill

inline Steps && fill(
    float opacity =0.3
)

function fillPattern

inline Steps & fillPattern(
    int n
)

function fillPattern

inline Steps && fillPattern(
    int n
)

function noFill

inline Steps & noFill()

function noFill

inline Steps && noFill()

function isFilled

inline bool isFilled() const

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 Steps & label(
    const char * label
)

function label

inline Steps && label(
    const char * label
)

function label

inline Steps & label(
    std::string_view label
)

function label

inline Steps && label(
    std::string_view label
)

function label

inline Steps & label(
    std::string && label
)

function label

inline Steps && label(
    std::string && label
)

Public Attributes Documentation

variable x_

optional_ptr< Tx > x_;

variable y_

optional_ptr< Ty > y_;

variable opt_line_color

std::optional< Color > opt_line_color = std::nullopt;

variable opt_fill_color

std::optional< Color > opt_fill_color = std::nullopt;

variable line_type

LineType line_type = LineType::solid;

variable line_width

float line_width = 1.5;

variable fill_style

FillStyle fill_style;

Updated on 2025-03-02 at 14:13:17 +0100