Greetings all,
I have a script which generates a TGraph2D of a Chi2 surface for individual data runs of a long running series of experiments.
Attached are two PDFs:
-
The default view that shows up when I draw the TGraph2D to screen that has been labelled Chiplot_ru960309_r01_xyz.pdf
-
The rotated view that shows just the view at the XY plane of the same data, labelled Chiplot_ru960309_r01_xy.pdf - the rotation has been done manually after the script has finished.
I would like to be to rotate to the XY view via the script, but I can’t seem to figure out how to do it.
I have tried CreateView - but all I seem to do is generate the same view, rather than a different angle.
I have tried ->Project(“xy”) but this does something very different from what I am looking for.
Can someone please point me at the correct method or an example from one of the tutorials where something similar is done.
I seem to be thinking about the problem the wrong way. Any guidance on where I am going wrong will be gratefully received.
Regards
Chiplot_ru960309_r01_t_xy.pdf (40.6 KB)
Chiplot_ru960309_r01_xyz.pdf (43.7 KB)