How to define figure size in Octave 3.0.0?

Ben Abbott bpabbott at mac.com
Wed Dec 3 18:09:21 CST 2008


On Dec 3, 2008, at 6:07 PM, Boris Ljevar wrote:

> Hi, is it possible to define figure size in Octave 3.0.0?
> In Matlab I'm using the following statements:
>        figure('Position',[7 37 1268 906])
>        subplot('Position',[0.03 0.33 0.94 0.63])
> to create a figure window/sub-window of specific size.
> Is there a way to do something similar in Octave?

Limited support for this capability has been recently added to the  
developers sources. The patch is at the link below (please do not try  
to apply it to 3.0.0, it will certainly not work).

	http://hg.savannah.gnu.org/hgweb/octave/rev/d750feaefa8e

There is presently no support for windows or for x11. A gnuplot patch  
adding the capability to the x11 terminal is under development. The  
display terminals which are supported by the developers sources are  
wxt and aqua.

Thus, the problem you've reported will be resolved in a future version  
(except for Windows).

Ben



More information about the Help-octave mailing list