[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: terminals_with_size
From: |
Tatsuro MATSUOKA |
Subject: |
Re: terminals_with_size |
Date: |
Thu, 15 Sep 2016 16:38:23 +0900 (JST) |
----- Original Message -----
> From: Tatsuro MATSUOKA
> To: Dmitri A. Sergatskov ; Rik
> Cc: John W. Eaton ; Octave-Maintainers ; Mike Miller
> Date: 2016/9/15, Thu 15:59
> Subject: Re: terminals_with_size
>
> ----- Original Message -----
>> From: Dmitri A. Sergatskov
>> Those are terminal used by "print" (and related) command. qt is
> interractive terminal
>
>>
>
>> It does have "size" and "position", but I do not think
> it is relevant. The same can be said about
>>
>> e.g. x11 terminal.
>>
>> Mike wrote:
>>
>
>> figure ("position", [0, 0, 1000, 200])
>>
>> works when using GNUTERM=x11, but not when GNUTERM=qt. This may have
>> something to do with that.
>
> I cannot see the "position" property for figure in octave manual.
>
> From the viewing codes and some experiments, I found that
>
> The "position" property value are [x_position, y_position, x_size,
> y_size]
>
> Unit of values are pixels.
>
> Then even for interactive terminal,
> terminals_with_size has important meaning for specifying figure size.
>
> Therefore octave-4.2.0-rc1 (before attaching patch.)
>
> figure("position", [0, 0, 500, 500])
>
> command effective for size for wxt terminal but not effective qt terminal.
>
> Tatsuro
I have confirmed that the cset by Rik made figure size changeable for qt
terminal.
__gnuplot_drawnow__.m (line 226)
if (strcmp (term, "x11") || strcmpi (term, "windows"))
i
V
if (strcmp (term, "x11") || strcmpi (term, "windows") || strcmp (term, "qt"))
For the position option implementation qt is simple but for wxt one should
also check gnuplot version.
(require >= 4.6.4 ).
Tatsuro
- Re: Minimum gnuplot version for Octave 4.2?, (continued)
- Re: Minimum gnuplot version for Octave 4.2?, Mike Miller, 2016/09/14
- Re: Minimum gnuplot version for Octave 4.2?, John W. Eaton, 2016/09/14
- Re: Minimum gnuplot version for Octave 4.2?, Rik, 2016/09/14
- Re: Minimum gnuplot version for Octave 4.2?, Tatsuro MATSUOKA, 2016/09/14
- Re: terminals_with_size, Rik, 2016/09/14
- Re: terminals_with_size, Mike Miller, 2016/09/14
- Re: terminals_with_size, Tatsuro MATSUOKA, 2016/09/14
- Re: terminals_with_size, Rik, 2016/09/15
- Re: terminals_with_size, Dmitri A. Sergatskov, 2016/09/14
- Re: terminals_with_size, Tatsuro MATSUOKA, 2016/09/15
- Re: terminals_with_size,
Tatsuro MATSUOKA <=
- Re: terminals_with_size, Tatsuro MATSUOKA, 2016/09/14
- Re: terminals_with_size, Ben Abbott, 2016/09/15
- Message not available
- Re: terminals_with_size, Rik, 2016/09/14