help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Figure size with subplots


From: Mike Miller
Subject: Re: Figure size with subplots
Date: Wed, 1 Jun 2016 20:16:52 -0700
User-agent: Mutt/1.6.0 (2016-04-01)

On Sun, May 22, 2016 at 09:18:10 +0200, karl wrote:
> How to change the size of the window that I have two plots of quadratic size
> in a rectangular window whose height is half the width?

The figure size and position are controlled with the "position" property
of the figure object.

To set the height of the figure window to be half of what it is
currently,

  pos = get (gcf, "position");
  pos(4) = pos(4) / 2;
  set (gcf, "position", pos);

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]