Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3930

Re: is there a command that will do show term wxt size

From Jörg Buchholz <bookwood4new@freenet.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: is there a command that will do show term wxt size
Date 2018-03-26 08:49 +0200
Organization A noiseless patient Spider
Message-ID <p9a55s$788$1@dont-email.me> (permalink)
References <b4da8157-e2a7-4382-839c-bfa924d5d3b5@googlegroups.com> <p99fnb$uk9$1@dont-email.me> <d22b5e01-9883-41b6-aae1-5a31008dd0e3@googlegroups.com>

Show all headers | View raw


On 26.03.2018 05:26, xlrotor@gmail.com wrote:
> Excellent.  Is GPVAL_TERM_XSIZE supposed to output the current size
> of the plot window, or the size when first created.  I'm finding that
> if the plot window is resized using the mouse, these output values
> don't change (Win7, wxt).  Is an additional command needed to update
> the values reported by these globals?

Try a "replot" after changing the size by using the mouse. On WIN 7
gnuplot 5.2 patchlevel 2  gives than the correct size of the wxt
terminal to you by using the "print GPVAL_TERM_XSIZE / 20" command.

> On Sunday, March 25, 2018 at 8:43:24 PM UTC-4, Ethan Merritt wrote:
>> On Sun, 25 Mar 2018 15:36:42 -0700, xlrotor wrote:
>> 
>>> I would like to "show" the current size of a wxt window.  Is
>>> there a command that will do this?
>> 
>> With a little bit of extra work.
>> 
>> print GPVAL_TERM_XSIZE / 20 print GPVAL_TERM_YSIZE / 20
>> 
>> Ethan
> 

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

is there a command that will do show term wxt size xlrotor@gmail.com - 2018-03-25 15:36 -0700
  Re: is there a command that will do show term wxt size Ethan Merritt <eamerritt@gmail.com> - 2018-03-26 00:43 +0000
    Re: is there a command that will do show term wxt size xlrotor@gmail.com - 2018-03-25 20:26 -0700
      Re: is there a command that will do show term wxt size Jörg Buchholz <bookwood4new@freenet.de> - 2018-03-26 08:49 +0200
    Re: is there a command that will do show term wxt size xlrotor@gmail.com - 2018-03-25 20:40 -0700
      Re: is there a command that will do show term wxt size Karl Ratzsch <mail.kfr@gmx.net> - 2018-03-26 08:41 +0200
        Re: is there a command that will do show term wxt size xlrotor@gmail.com - 2018-03-26 11:12 -0700

csiph-web