ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hoption_stock.h
Go to the documentation of this file.
1 /* @(#)root/histpainter:$Name: $:$Id: Hoption_stock.h 26 2012-06-26 17:32:29Z martinml $ */
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 Hoption_stock_
12 #define Hoption_stock_
13 
14 
15 typedef struct Hoption_stock_t {
16  // chopt may be the concatenation of the following options:
17 
18  int Axis; // "A" Axis are not drawn around the graph. value= -1 if desactivated, 0 default
19  // > 0 for grid
20  int Bar; // "B" A Bar chart is drawn at each point.
21  int Curve; // "C" A smooth Curve is drawn.
22  int Error; // "E" Draw Errors with current marker type and size.
23  int Fill; // "F" A fill area is drawn ("CF" draw a smooth fill area).
24  int Off; // "][" With H option, the first and last vertical lines are not drawn.
25  int Keep; // "K" The status of the histogram is kept in memory
26  int Line; // "L" A simple polyline beetwen every point is drawn.
27  int Mark; // "P" The current Marker is drawn at each point
28  int Same; // "S" Histogram is plotted in the current PAD.
29  int Update; // "U" Update histogram previously plotted with option K
30  int Plus; // "+", "-", "+-" Bin contents are added and/or substracted
31  int Star; // "*" A * is plotted at each point
32  int Arrow; // "ARR" Draw 2D plot with Arrows.
33  int Box; // "BOX" Draw 2D plot with proportional Boxes.
34  int Char; // "CHAR" Draw 2D plot with a character set.
35  int Color; // "COL" Draw 2D plot with Colored boxes.
36  int Contour; // "CONT" Draw 2D plot as a Contour plot.
37  int Func; // "FUNC" Draw only the function (for example in case of fit).
38  int Hist; // "HIST" Draw only the histogram.
39  int Lego; // "LEGO" Draw as a Lego plot(LEGO,Lego=1, LEGO1,Lego1=11, LEGO2,Lego=12).
40  int Scat; // "SCAT" Draw 2D plot a Scatter plot.
41  int Surf; // "SURF" Draw as a Surface (SURF,Surf=1, SURF1,Surf=11, SURF2,Surf=12)
42  int Text; // "TEXT" Draw 2D plot with the content of each cell.
43  int Tri; // "TRI" Draw 2D plot with Delaunay triangles.
44  int Pie; // "PIE" Draw 1D plot as a pie chart.
45  int System; // type of coordinate system(1=car,2=pol,3=cyl,4=sph,5=psr)
46  int Zscale; // "Z" to display the Z scale (color palette)
47  int FrontBox; // = 0 to suppress the front box
48  int BackBox; // = 0 to suppress the back box
49  int List; // = 1 to generate the TObjArray "contours"
50  int HighRes; // = 1 to select high resolution
51  int Proj; // = 1 to get an Aitoff projection, usefull for skymaps or exposure maps..
52  // = 2 to get a Mercator ptojection
53  // = 3 to get a Sinusoidal ptojection
54  // = 4 to get a Parabolic ptojection
55  int AxisPos; // Axis position
56  int Spec; // TSpectrum graphics
57 
58  int Zero; // if selected with any LEGO option the empty are not drawn.
59 
60 
61  // the following structure members are set to 1 if the corresponding option
62  // in the current style is selected.
63 
64  int Logx; // log scale in X. Also set by histogram option
65  int Logy; // log scale in Y. Also set by histogram option
66  int Logz; // log scale in Z. Also set by histogram option
67 
68  //Added
69  int Candle; // try, may not used after
70 
72 
73 #endif //Hoption_stock_
74 
struct Hoption_stock_t Hoption_stock_t