Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?J=c3=b6rg_Buchholz?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: is there a command that will do show term wxt size Date: Mon, 26 Mar 2018 08:49:31 +0200 Organization: A noiseless patient Spider Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 26 Mar 2018 06:49:32 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="9927427e14bcb6d609695900236bc9bd"; logging-data="7432"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Vw8+hY599ljwN6ENL20vQvliU6BsTX/g=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 In-Reply-To: Content-Language: en-GB Cancel-Lock: sha1:3CuanOMkAPjAfkC6xqwqCgHRzCg= Xref: csiph.com comp.graphics.apps.gnuplot:3930 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 >