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)
#define R__ATTR_CLASS(ClassName, dflt_prefix)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
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
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
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
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.