This example tests the reverse graphs obtained with Draw("a pl rx ry ") on a TGraph, where rx and ry refere to the reversing of x and y axis.
void gr102_reverse_graph() {
auto c =
new TCanvas(
"c",
"Reversed graphs",0,0,900,400);
gr->GetXaxis()->SetNdivisions(514);
gr->GetYaxis()->SetNdivisions(514);
}
A TGraph is an object made of two arrays X and Y with npoints each.
- Author
- Olivier Couet
Definition in file gr102_reverse_graph.C.