Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Hoption_t Struct Reference

Histograms' drawing options structure.

Used internally by THistPainter to manage histograms' drawing options.

Definition at line 24 of file Hoption.h.

Public Attributes

Histogram's drawing options

The drawing option may be the concatenation of some of the following options:

int Axis
 "A" Axis are not drawn around the graph.
 
int Bar
 "B", "BAR" and "HBAR" A Bar chart is drawn at each point.
 
int Curve
 "C" A smooth Curve is drawn.
 
int Error
 "En" Draw Errors with current marker type and size (0 <= n <=6).
 
int Fill
 "F" A fill area is drawn ("CF" draw a smooth fill area).
 
int Off
 "][" The first and last vertical lines are not drawn.
 
int Line
 "L" A simple polyline through every point is drawn.
 
int Mark
 "P" The current Marker is drawn at each point.
 
int Same
 "SAME" Histogram is plotted in the current pad.
 
int Star
 "*" With option "P", a * is plotted at each point.
 
int Arrow
 "ARR" Draw 2D plot with Arrows.
 
int Box
 "BOX" Draw 2D plot with proportional Boxes.
 
int Char
 "CHAR" Draw 2D plot with a character set.
 
int Color
 "COL" Draw 2D plot with Colored boxes.
 
int Contour
 "CONTn" Draw 2D plot as a Contour plot (0 <= n <= 5).
 
int Func
 "FUNC" Draw only the function (for example in case of fit).
 
int Hist
 "HIST" Draw only the histogram.
 
int Lego
 "LEGO" and "LEGOn" Draw as a Lego plot(1 <= n <= 4).
 
int Scat
 "SCAT" Draw 2D plot a Scatter plot.
 
int Surf
 "SURF" and "SURFn" Draw as a Surface ((1 <= n <= 4).
 
int Text
 "TEXT" Draw 2D plot with the content of each cell.
 
int Tri
 "TRI" Draw TGraph2D with Delaunay triangles.
 
int Pie
 "PIE" Draw 1D plot as a pie chart.
 
long Candle
 "CANDLE" and "VIOLIN" Draw a 2D histogram as candle/box plot or violin plot.
 
int System
 "POL", "CYL", "SPH" and "PSR" Type of coordinate system for 3D plots.
 
int Zscale
 "Z" Display the color palette.
 
int FrontBox
 "FB" Suppress the front box for the 3D plots.
 
int BackBox
 "BB" Suppress the back box for the 3D plots.
 
int List
 "LIST" Generate the TObjArray "contours". To be used with option "CONT"
 
int Proj
 "AITOFF", "MERCATOR", "SINUSOIDAL" and "PARABOLIC" projections for 2d plots.
 
int AxisPos
 "X+" and "Y+" Axis position
 
int Spec
 "SPEC" TSpectrum graphics
 
int Zero
 "0" if selected with any LEGO option the empty bins are not drawn.
 
int MinimumZero
 "MIN0" or gStyle->GetHistMinimumZero()
 
Other options

The following structure members are set to 1 if the corresponding setting is selected.

int Logx
 log scale in X. Also set by histogram option
 
int Logy
 log scale in Y. Also set by histogram option
 
int Logz
 log scale in Z. Also set by histogram option
 

#include <Hoption.h>

Member Data Documentation

◆ Arrow

int Hoption_t::Arrow

"ARR" Draw 2D plot with Arrows.

Definition at line 40 of file Hoption.h.

◆ Axis

int Hoption_t::Axis

"A" Axis are not drawn around the graph.

Definition at line 30 of file Hoption.h.

◆ AxisPos

int Hoption_t::AxisPos

"X+" and "Y+" Axis position

Definition at line 60 of file Hoption.h.

◆ BackBox

int Hoption_t::BackBox

"BB" Suppress the back box for the 3D plots.

Definition at line 57 of file Hoption.h.

◆ Bar

int Hoption_t::Bar

"B", "BAR" and "HBAR" A Bar chart is drawn at each point.

Definition at line 31 of file Hoption.h.

◆ Box

int Hoption_t::Box

"BOX" Draw 2D plot with proportional Boxes.

Definition at line 41 of file Hoption.h.

◆ Candle

long Hoption_t::Candle

"CANDLE" and "VIOLIN" Draw a 2D histogram as candle/box plot or violin plot.

Definition at line 53 of file Hoption.h.

◆ Char

int Hoption_t::Char

"CHAR" Draw 2D plot with a character set.

Definition at line 42 of file Hoption.h.

◆ Color

int Hoption_t::Color

"COL" Draw 2D plot with Colored boxes.

Definition at line 43 of file Hoption.h.

◆ Contour

int Hoption_t::Contour

"CONTn" Draw 2D plot as a Contour plot (0 <= n <= 5).

Definition at line 44 of file Hoption.h.

◆ Curve

int Hoption_t::Curve

"C" A smooth Curve is drawn.

Definition at line 32 of file Hoption.h.

◆ Error

int Hoption_t::Error

"En" Draw Errors with current marker type and size (0 <= n <=6).

Definition at line 33 of file Hoption.h.

◆ Fill

int Hoption_t::Fill

"F" A fill area is drawn ("CF" draw a smooth fill area).

Definition at line 34 of file Hoption.h.

◆ FrontBox

int Hoption_t::FrontBox

"FB" Suppress the front box for the 3D plots.

Definition at line 56 of file Hoption.h.

◆ Func

int Hoption_t::Func

"FUNC" Draw only the function (for example in case of fit).

Definition at line 45 of file Hoption.h.

◆ Hist

int Hoption_t::Hist

"HIST" Draw only the histogram.

Definition at line 46 of file Hoption.h.

◆ Lego

int Hoption_t::Lego

"LEGO" and "LEGOn" Draw as a Lego plot(1 <= n <= 4).

Definition at line 47 of file Hoption.h.

◆ Line

int Hoption_t::Line

"L" A simple polyline through every point is drawn.

Definition at line 36 of file Hoption.h.

◆ List

int Hoption_t::List

"LIST" Generate the TObjArray "contours". To be used with option "CONT"

Definition at line 58 of file Hoption.h.

◆ Logx

int Hoption_t::Logx

log scale in X. Also set by histogram option

Definition at line 70 of file Hoption.h.

◆ Logy

int Hoption_t::Logy

log scale in Y. Also set by histogram option

Definition at line 71 of file Hoption.h.

◆ Logz

int Hoption_t::Logz

log scale in Z. Also set by histogram option

Definition at line 72 of file Hoption.h.

◆ Mark

int Hoption_t::Mark

"P" The current Marker is drawn at each point.

Definition at line 37 of file Hoption.h.

◆ MinimumZero

int Hoption_t::MinimumZero

"MIN0" or gStyle->GetHistMinimumZero()

Definition at line 63 of file Hoption.h.

◆ Off

int Hoption_t::Off

"][" The first and last vertical lines are not drawn.

Definition at line 35 of file Hoption.h.

◆ Pie

int Hoption_t::Pie

"PIE" Draw 1D plot as a pie chart.

Definition at line 52 of file Hoption.h.

◆ Proj

int Hoption_t::Proj

"AITOFF", "MERCATOR", "SINUSOIDAL" and "PARABOLIC" projections for 2d plots.

Definition at line 59 of file Hoption.h.

◆ Same

int Hoption_t::Same

"SAME" Histogram is plotted in the current pad.

Definition at line 38 of file Hoption.h.

◆ Scat

int Hoption_t::Scat

"SCAT" Draw 2D plot a Scatter plot.

Definition at line 48 of file Hoption.h.

◆ Spec

int Hoption_t::Spec

"SPEC" TSpectrum graphics

Definition at line 61 of file Hoption.h.

◆ Star

int Hoption_t::Star

"*" With option "P", a * is plotted at each point.

Definition at line 39 of file Hoption.h.

◆ Surf

int Hoption_t::Surf

"SURF" and "SURFn" Draw as a Surface ((1 <= n <= 4).

Definition at line 49 of file Hoption.h.

◆ System

int Hoption_t::System

"POL", "CYL", "SPH" and "PSR" Type of coordinate system for 3D plots.

Definition at line 54 of file Hoption.h.

◆ Text

int Hoption_t::Text

"TEXT" Draw 2D plot with the content of each cell.

Definition at line 50 of file Hoption.h.

◆ Tri

int Hoption_t::Tri

"TRI" Draw TGraph2D with Delaunay triangles.

Definition at line 51 of file Hoption.h.

◆ Zero

int Hoption_t::Zero

"0" if selected with any LEGO option the empty bins are not drawn.

Definition at line 62 of file Hoption.h.

◆ Zscale

int Hoption_t::Zscale

"Z" Display the color palette.

Definition at line 55 of file Hoption.h.

Collaboration diagram for Hoption_t:
[legend]

The documentation for this struct was generated from the following file: