PGPlot1dDataAttr.h

Classes

PGPlot1dDataAttr -- PGPlot1d helper class that stores attributes for a single data set (full description)

class PGPlot1dDataAttr

Types

enum DataStyle

DS_LINES
DS_POINTS
DS_LINESPOINTS
DS_HISTOGRAM

enum LineStyle

LS_NONE = 0
LS_SOLID = 1
LS_DASHED = 2
LS_DOT_DASH = 3
LS_DOTTED = 4
LS_DASH_3DOT = 5

enum PointStyle

PS_NONE = 32
PS_DOT = 1
PS_BOX = 0
PS_TRIANGLE = 7
PS_DIAMOND = 11
PS_STAR = 12
PS_VLINE = 509
PS_HLINE = 258
PS_CROSS = 2
PS_CIRCLE = 23
PS_SQUARE = 6

Interface

Public Members
PGPlot1dDataAttr(Int id)
void setLineStyle(LineStyle ls)
LineStyle lineStyle() const
void setLineWidth(uInt width)
uInt lineWidth() const
void setLineColor(uInt index)
uInt lineColor() const
void setPointStyle(PointStyle ls)
PointStyle getPointStyle() const
void setPointSize(uInt size)
Float pointSize() const
void setPointColor(uInt index)
uInt pointColor() const
uInt lineStyleCode() const
uInt pointStyleCode() const
void setLineStyleCode()
void setPointStyleCode()
Int id() const
void setDataStyle(DataStyle ds)
DataStyle dataStyle() const
void setIndex(Int ndx)
Int index() const

Description

Etymology

PGPlot1dDataAttr comes from PGPlot1d + Data + Attribute. Attribute was shortened for convenience.

Synopsis

PGPlot1dDataAttr is used as a container for attributes. PGPlot1d keeps track of its own attributes for each dataset, and this class facilitates this list of attributes.

Thrown Exceptions

Example

No example given.

Member Description

PGPlot1dDataAttr(Int id)

enum DataStyle

enum LineStyle

enum PointStyle

void setLineStyle(LineStyle ls)

public access to vars below

LineStyle lineStyle() const

void setLineWidth(uInt width)

uInt lineWidth() const

void setLineColor(uInt index)

uInt lineColor() const

void setPointStyle(PointStyle ls)

PointStyle getPointStyle() const

void setPointSize(uInt size)

Float pointSize() const

void setPointColor(uInt index)

uInt pointColor() const

uInt lineStyleCode() const

uInt pointStyleCode() const

void setLineStyleCode()

void setPointStyleCode()

Int id() const

void setDataStyle(DataStyle ds)

DataStyle dataStyle() const

void setIndex(Int ndx)

Int index() const