Resize tframe and position of color palette at innitializati


I am drawing automatically a 2D histogram as the output of a simulation, updating the canvas continuously while the simulation is running, but the values on the vertical colour palette are outside the canvas, making them impossible to read. Obviously one can use the mouse at the end of the run, to move and resize the objects, however I was wondering if I could use some commands from start to make sure the values can be read from the very beginning.

Thank you very much,

Best regards,


Make the right margin wider and/or move the palette as shown in the attached example.
movepal.C (2.42 KB)

Thank you for your help.