ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
Hoption.h
Go to the documentation of this file.
1
/* @(#)root/histpainter:$Id$ */
2
3
/*************************************************************************
4
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#ifndef ROOT_Hoption
12
#define ROOT_Hoption
13
14
15
////////////////////////////////////////////////////////////////////////////////
16
/*! \struct Hoption_t
17
\brief Histogram option structure.
18
19
Used internally by `THistpainter` to manage histogram drawing options.
20
21
*/
22
23
24
typedef
struct
Hoption_t {
25
// The histogram's drawing option may be the concatenation of the following options:
26
27
int
Axis;
///< "A" Axis are not drawn around the graph.
28
int
Bar;
///< "B" A Bar chart is drawn at each point.
29
int
Curve;
///< "C" A smooth Curve is drawn.
30
int
Error;
///< "E" Draw Errors with current marker type and size.
31
int
Fill;
///< "F" A fill area is drawn ("CF" draw a smooth fill area).
32
int
Off;
///< "][" With H option, the first and last vertical lines are not drawn.
33
int
Keep;
///< "K" The status of the histogram is kept in memory
34
int
Line;
///< "L" A simple polyline beetwen every point is drawn.
35
int
Mark;
///< "P" The current Marker is drawn at each point
36
int
Same;
///< "S" Histogram is plotted in the current PAD.
37
int
Update;
///< "U" Update histogram previously plotted with option K
38
int
Star;
///< "*" A * is plotted at each point
39
int
Arrow;
///< "ARR" Draw 2D plot with Arrows.
40
int
Box;
///< "BOX" Draw 2D plot with proportional Boxes.
41
int
Char;
///< "CHAR" Draw 2D plot with a character set.
42
int
Color;
///< "COL" Draw 2D plot with Colored boxes.
43
int
Contour;
///< "CONT" Draw 2D plot as a Contour plot.
44
int
Func;
///< "FUNC" Draw only the function (for example in case of fit).
45
int
Hist;
///< "HIST" Draw only the histogram.
46
int
Lego;
///< "LEGO" Draw as a Lego plot(LEGO,Lego=1, LEGO1,Lego1=11, LEGO2,Lego=12).
47
int
Scat;
///< "SCAT" Draw 2D plot a Scatter plot.
48
int
Surf;
///< "SURF" Draw as a Surface (SURF,Surf=1, SURF1,Surf=11, SURF2,Surf=12)
49
int
Text;
///< "TEXT" Draw 2D plot with the content of each cell.
50
int
Tri;
///< "TRI" Draw 2D plot with Delaunay triangles.
51
int
Pie;
///< "PIE" Draw 1D plot as a pie chart.
52
long
Candle;
///< "CANDLE" Draw a 2D histogram as candle/box plot or violin plot (also with "VIOLIN").
53
int
System;
///< type of coordinate system(1=car,2=pol,3=cyl,4=sph,5=psr)
54
int
Zscale;
///< "Z" to display the Z scale (color palette)
55
int
FrontBox;
///< = 0 to suppress the front box
56
int
BackBox;
///< = 0 to suppress the back box
57
int
List;
///< = 1 to generate the TObjArray "contours"
58
int
Proj;
///< 1: Aitoff, 2: Mercator, 3: Sinusoidal, 4: Parabolic
59
int
AxisPos;
///< Axis position
60
int
Spec;
///< TSpectrum graphics
61
int
Zero;
///< if selected with any LEGO option the empty bins are not drawn.
62
int
MinimumZero;
///< "MIN0" or gStyle->GetHistMinimumZero()
63
64
// The following structure members are set to 1 if the corresponding option
65
// in the current style is selected.
66
67
int
Logx;
///< log scale in X. Also set by histogram option
68
int
Logy;
///< log scale in Y. Also set by histogram option
69
int
Logz;
///< log scale in Z. Also set by histogram option
70
71
} Hoption_t;
72
73
#endif
hist
histpainter
inc
Hoption.h
Generated on Tue May 5 2020 14:02:53 for ROOT by
1.8.5