How do I switch the “Auto Resize Canvas” Option OFF by default? It can be changed from the Canvas GUI but by the time its accessible, the Canvas already resizes.
Is there a variable I can set in my rootlogon.C for that. My search has not turned up anything yet.
Thanks.
ROOT 5.33/01 (trunk@42549, Dec 20 2011, 22:53:40 on linux)
OS: Ubuntu Lucid - 32 bit
It works for ResizeOpaque so I know its reading the system.rootrc.
The reason I want this to work is because I want high resolution png files and my machine resizes the Canvas to fit my screen and then saves them at a different resolution instead of the default specified.
Any suggestions on workaround or the right way to do this will be very helpful.
Thanks.
Edit: One Solution to create High resolution PNG files is to run root in batch mode with ‘root -b’, This way the Canvas doesn’t resize on X-Display and the original resolution and aspects for the images are preserved. I would still like to know how to turn the Auto Resize off though, Since if I use it in interactive non-batch mode, It resizes image on the fly and the first few images saved are whacky, a superposition of the original size with new resized size.
Do you have any recommendations for producing a canvas with many graphs one. I want to scroll through on the canvas but make the window size suitable for the monitor.
I have added
c->SetCanvasSize(800,2000);
c->SetWindowSize(500,500);
This does not produce a scroll bar but instead it resizes the graphs such that all the graphs fit in the window. I then cannot go back to the correct scale.
(sorry just noticed that this post was Feb 2012 not the 12th of Feb)