10#define ROOT7_RAttrAxis
20namespace Experimental {
128 bool IsLog10()
const {
auto l = this->
log;
return (std::fabs(
l-1.) < 1
e-6) || (std::fabs(
l-10.) < 1
e-6); }
129 bool IsLog2()
const {
return std::fabs(this->
log - 2.) < 1
e-6; }
130 bool IsLn()
const {
return std::fabs(this->
log - 2.71828) < 0.1; }
#define R__ATTR_CLASS_DERIVED(ClassName, dflt_prefix, BaseClass)
Base class for attributes aggregations like lines or fill attributes.
Axis labels drawing attributes.
RAttrValue< bool > hide
! hide labels
RAttrValue< bool > center
! center labels
RAttrValue< RPadLength > offset
! labels offset - relative to "default" position
RAttrValue< int > width
! ticks width
R__ATTR_CLASS(RAttrAxisTicks, "ticks")
RAttrValue< RPadLength > size
! ticks size
RAttrValue< std::string > side
! ticks position - normal, invert, both
RAttrValue< RColor > color
! ticks color
Axis title and its drawing attributes.
RAttrAxisTitle & operator=(const std::string &_title)
RAttrValue< std::string > position
! axis title position - left, right, center
RAttrValue< std::string > value
! axis title value
RAttrValue< RPadLength > offset
! axis title offset - relative to "default" position
All supported axes attributes for: line, ticks, labels, title, min/max, log, reverse,...
RAttrValue< double > symlog
! symlog scale constant, 0 - off
RAttrAxisTicks ticks
! ticks attributes
RAttrAxisLabels labels
! labels attributes
RAttrAxis & SetZoom(double _zoomMin, double _zoomMax)
RAttrAxisTitle title
! title attributes
RAttrValue< double > zoomMin
! axis zoom min
RAttrAxis & ClearMinMax()
RAttrValue< double > log
! log scale, <1 off, 1 - base10, 2 - base 2, 2.71 - exp, 3, 4, ...
RAttrAxis & SetTimeDisplay(const std::string &fmt="", double offset=-1)
RAttrAxis & SetMinMax(double _min, double _max)
RAttrValue< double > max
! axis max
RAttrValue< bool > reverse
! reverse scale
RAttrLine line
! line attributes
std::string GetTitle() const
RAttrValue< double > timeOffset
! offset for time axis values
RAttrValue< std::string > timeFormat
! time format
RAttrValue< double > zoomMax
! axis zoom max
R__ATTR_CLASS(RAttrAxis, "axis")
RAttrAxis & SetTitle(const std::string &_title)
RAttrValue< bool > time
! time scale
RAttrLineEnding ending
! ending attributes
RAttrValue< double > min
! axis min
Attributes for line ending.
Drawing line attributes for different objects.
Template class to access single value from drawable or other attributes.
static R__DLLEXPORT constexpr RGB_t kBlack
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...