|
From: Ethan A M. <sf...@us...> - 2014-10-27 18:56:17
|
On Friday, 24 October, 2014 22:17:19 sfeam wrote: > On Saturday, 25 October 2014 12:01:57 AM Daniel J Sebald wrote: > > On 10/24/2014 05:04 PM, Ethan A Merritt wrote: > > > On Friday, 24 October, 2014 15:17:01 Daniel J Sebald wrote: > > >> Also the WXT terminal has a fixed aspect ratio where Qt terminal does not. > > > > > > Again not true here. The copy/paste is just a bitmap of whatever the > > > current display shows. You can change the aspect ratio to anything > > > you like either with "set term wxt size XX,YY" or by resizing the open > > > window with the mouse. > > > > When resizing the window, I'm seeing the plot change size but using the > > maximum size that fits within whatever is the minimum axis that > > maintains aspect ratio. The rest of the screen is then grey. I've > > attached a small screenshot. > > Ah, I understand. > See Feature Request #314 > > The new aspect ratio isn't applied until the next replot. > The qt terminal has a tool widget to toggle whether you > want this to happen automatically. The wxt should have one also. I've added to cvs for 5.0 and 5.1 a toggle button in the wxt tools widget. The very first time you use it, the state of the toggle button may not be reported correctly because the corresponding state variable doesn't exist in your previous saved-state file. But once you've exited the program that first time, causing the saved-state to be updated, everything should work correcly in subsequent sessions. I also have code to add save-to-png-file to the wxt toolbar. But I haven't worked with this toolkit before and I haven't found a decent worked example to show how to embed this in a pull-down menu. So as before ... > Patches welcome. Ethan |