The namespace for axes constants. More...
Enumerations | |
enum | Type { X = 0, Y = 1, Z = 2, W = 3, XE = 4, YE = 5, T = 10, UNKNOWN = 1000 } |
Axes constants. More... | |
Functions | |
Type | convert (const std::string &axis) |
Converts from string representation ot Axes::Type representation. | |
Type | convert (unsigned int i) |
Converts from integer represenation to Axes::Tyoe representation. | |
Variables | |
static Type | types [] = { X, Y, Z, W, XE, YE, UNKNOWN } |
An array to allow conversion of integer to enumeration. |
The namespace for axes constants.
enum Type |
Axes constants.
The axes constants are used to access and set attributes of PlotterBase objects.
X |
X axis. |
Y |
Y axis. |
Z |
Z axis. |
W |
weight |
XE |
X error or width. |
YE |
Y error or width. |
T |
title |
UNKNOWN |
Definition at line 31 of file AxesType.h.
Type MDL_HIPPOPLOT_API convert | ( | const std::string & | axis | ) |
Converts from string representation ot Axes::Type representation.
Definition at line 33 of file AxesType.cxx.
References T, num_util::type(), UNKNOWN, X, Y, and Z.
Referenced by NTuple::addColumn(), DisplayController::addLineRep(), Inspector::axis_button_group_clicked(), PyDataSource::checkRank(), DataSource::checkWidth(), RootNTuple::createBinding(), NTupleXML::createChildren2D(), ContourPointRep::createContours(), NTupleProjectorXML::createElement(), FunctionProjectorXML::createElement(), PlotterBaseXML::createFontElements(), UnderflowTextRep::drawProjectedValues(), TotalTextRep::drawProjectedValues(), OverflowTextRep::drawProjectedValues(), FuncParmRep::drawProjectedValues(), AverageTextRep::drawProjectedValues(), AxisRepBase::drawXLabels(), AxisRepBase::drawXMag(), AxisRepBase::drawYLabels(), AxisRepBase::drawYMag(), AxisRepColor::drawZTickLabels(), FunctionController::ellipsoidNTuple(), DisplayController::getAverage(), FontXML::getAxis(), AxisModelXML::getAxis(), NTupleProjectorXML::getBindings(), PyDataRep::getBinWidth(), PlotterBase::getBinWidth(), QtDisplay::getLabel(), DisplayController::getLog(), DataRep::getMean(), PlotterBase::getOffset(), QtDisplay::getRange(), DisplayController::getRMS(), DataRep::getRMS(), PlotterBaseXML::handleCutPlotter(), MinuitMigrad::initialize(), DataSource::isValidColumn(), LinearSumFunction::parmNames(), NTupleController::readAsciiNTuple(), DataSourceController::registerNTuple(), PyDataSource::replaceColumn(), NTuple::replaceColumn(), FitsNTuple::replaceColumn(), PyDataSource::saveColumnFromNumArray(), NTupleController::saveNTuples(), QtXmlElement::setAttribute(), FunctionProjectorXML::setAttributes(), QtDisplay::setAutoRanging(), PlotterBase::setAutoRanging(), PlotterBase::setAutoTicks(), PyDataRep::setBinWidth(), PlotterBase::setBinWidth(), DisplayController::setBinWidth(), QtCut::setCutRange(), PyDataRep::setErrorDisplay(), QtDisplay::setLabel(), PlotterBase::setLabel(), NTuple::setLabels(), QtDisplay::setLog(), DisplayController::setLog(), PlotterBase::setNumberOfBins(), QtDisplay::setOffset(), PlotterBase::setOffset(), DyHist2DProjector::setOffset(), PlotterBase::setRange(), SymbolPointRep::setStyle(), LinePointRep::setStyle(), ColumnPointRep::setStyle(), PlotterBase::setTicks(), PlotterBase::setView(), DataSource::throwIfInvalidRowSize(), and FitsController::version().
Type MDL_HIPPOPLOT_API convert | ( | unsigned int | i | ) |
Converts from integer represenation to Axes::Tyoe representation.
Definition at line 44 of file AxesType.cxx.
An array to allow conversion of integer to enumeration.
Definition at line 31 of file AxesType.cxx.
Referenced by convert(), CanvasView::invalidImageFormatError(), and FitsFile::writeHDU().