30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
{
|
|
//========= Macro generated from object: Graph/Graph
|
|
//========= by ROOT version6.36.04
|
|
|
|
std::vector<Double_t> graph_x_vect0{ 1.00490190125271, 2.107843094158404, 3.022875787532016, 3.872549002807514, 4.673202609509424, 5.441176477162277, 6.02124184528305 };
|
|
std::vector<Double_t> graph_y_vect1{ 18152.65491423486, 14359.98734823804, 11468.07832916546, 9713.969579891931, 8528.760965517926, 8196.902553493204, 8007.269175193363 };
|
|
TGraph *graph = new TGraph(7, graph_x_vect0.data(), graph_y_vect1.data());
|
|
graph->SetName("Graph");
|
|
graph->SetTitle("Graph");
|
|
graph->SetFillStyle(1000);
|
|
|
|
TH1F *Graph_histogram1 = new TH1F("Graph_histogram1", "Graph", 100, 0.4542482982760897, 6.473856231112497);
|
|
Graph_histogram1->SetMinimum(7324.589013313936);
|
|
Graph_histogram1->SetMaximum(19499.05190016373);
|
|
Graph_histogram1->SetDirectory(nullptr);
|
|
Graph_histogram1->SetStats(0);
|
|
Graph_histogram1->SetLineColor(TColor::GetColor("#000099"));
|
|
Graph_histogram1->GetXaxis()->SetLabelFont(42);
|
|
Graph_histogram1->GetXaxis()->SetTitleOffset(1);
|
|
Graph_histogram1->GetXaxis()->SetTitleFont(42);
|
|
Graph_histogram1->GetYaxis()->SetLabelFont(42);
|
|
Graph_histogram1->GetYaxis()->SetTitleFont(42);
|
|
Graph_histogram1->GetZaxis()->SetLabelFont(42);
|
|
Graph_histogram1->GetZaxis()->SetTitleOffset(1);
|
|
Graph_histogram1->GetZaxis()->SetTitleFont(42);
|
|
graph->SetHistogram(Graph_histogram1);
|
|
|
|
graph->Draw();
|
|
}
|