Example showing how to combine the various candle plot options.
{
TH2I *
h1 =
new TH2I(
"h1",
"Sin", 18, 0, 360, 100, -1.5, 1.5);
for (int i = 0; i < 360; i += 10) {
for (
int j = 0;
j < 100;
j++) {
myRand =
rng->Gaus(sin(i * 3.14 / 180), 0.2);
}
}
for (int i = 1; i < 7; i++) {
}
for (int i = 1; i < 3; i++) {
}
TCanvas *
c3 =
new TCanvas(
"c3",
"Playing with candle and violin-options", 800, 600);
TString myopt[6] = {
"1000000",
"2000000",
"3000000",
"1112111",
"112111",
"112111"};
for (int i = 0; i < 6; i++) {
if (i == 4) {
}
if (i == 5) {
}
}
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual TH1 * DrawCopy(Option_t *option="", const char *name_postfix="_copy") const
Copy this histogram and Draw in the current pad.
2-D histogram with an int per channel (see TH1 documentation)
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
This is the base class for the ROOT Random number generators.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
- Date
- December 2017
- Author
- Georg Troska
Definition in file hist048_Graphics_candle_hist.C.