Skip to content

plotpp::YError

More...

Inherits from plotpp::IPlot

Public Functions

Name
YError(optional_ptr< Tx > x, optional_ptr< Ty > y, optional_ptr< Tyerr > yerr)
YError(YError const & ) =default
YError(YError && ) =default
YError & operator=(YError const & ) =default
YError & operator=(YError && ) =default
YError & label(const char * label)
YError && label(const char * label)
YError & label(std::string_view label)
YError && label(std::string_view label)
YError & label(std::string && label)
YError && label(std::string && label)
PointType pointType() const
YError & pointType(PointType pt)
YError && pointType(PointType pt)
float pointSize() const
YError & pointSize(float ps)
YError && pointSize(float ps)
Color color() const
YError & color(Color col)
YError && color(Color col)
bool isAutoColor() const
YError & setAutoColor()
YError && setAutoColor()
virtual void printPlot(FILE * fptr) const
virtual void printData(FILE * fptr) const

Public Attributes

Name
optional_ptr< Tx > x_
optional_ptr< Ty > y_
optional_ptr< Tyerr > yerror_
std::optional< Color > opt_color
PointType point_type
float point_size

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 <class Tx ,
class Ty ,
class Tyerr >
class plotpp::YError;

Public Functions Documentation

function YError

inline YError(
    optional_ptr< Tx > x,
    optional_ptr< Ty > y,
    optional_ptr< Tyerr > yerr
)

function YError

YError(
    YError const & 
) =default

function YError

YError(
    YError && 
) =default

function operator=

YError & operator=(
    YError const & 
) =default

function operator=

YError & operator=(
    YError && 
) =default

function label

inline YError & label(
    const char * label
)

function label

inline YError && label(
    const char * label
)

function label

inline YError & label(
    std::string_view label
)

function label

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

function label

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

function label

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

function pointType

inline PointType pointType() const

function pointType

inline YError & pointType(
    PointType pt
)

function pointType

inline YError && pointType(
    PointType pt
)

function pointSize

inline float pointSize() const

function pointSize

inline YError & pointSize(
    float ps
)

function pointSize

inline YError && pointSize(
    float ps
)

function color

inline Color color() const

function color

inline YError & color(
    Color col
)

function color

inline YError && color(
    Color col
)

function isAutoColor

inline bool isAutoColor() const

function setAutoColor

inline YError & setAutoColor()

function setAutoColor

inline YError && setAutoColor()

function printPlot

inline virtual void printPlot(
    FILE * fptr
) const

Reimplements: plotpp::IPlot::printPlot

function printData

inline virtual void printData(
    FILE * fptr
) const

Reimplements: plotpp::IPlot::printData

Public Attributes Documentation

variable x_

optional_ptr< Tx > x_;

variable y_

optional_ptr< Ty > y_;

variable yerror_

optional_ptr< Tyerr > yerror_;

variable opt_color

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

variable point_type

PointType point_type = PointType::CircleFilled;

variable point_size

float point_size = 1.0;

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