[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Shrinked axes
From: |
Valdas Jankūnas |
Subject: |
Shrinked axes |
Date: |
Fri, 11 Oct 2019 12:00:09 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Hello,
I execute this line in Octave (dev)...
close all; h_w_1=figure(1,'units','inches','position',[1,0,3,2]);
h_a_1=axes('units','normalized','outerposition',[0, 0, 1, 1]);
h_w_2=figure(2,'units','inches','position',[4.3,0,3,2*3]);
h_a_2=axes('units','normalized','outerposition',[0, 0, 1, 1/3]);
h_w_3=figure(3,'units','inches','position',[7.5,0,3,2*3]);
h_a_3=axes('units','normalized','outerposition',[0, 0, 1, 1]);
... where three figures are created:
- in first figure axes occupy all space of figure;
- in second figure axes occupy only third space of figure, but height of
figure is tripled;
- in third figure axes occupy all space of figure which height is tripled.
As result I got three windows (see attached screenshot).
In middle window (Figure 2) I expected (and I think that should be a correct
result) that size of axes should be same as in left window (Figure 1), but
instead axes are shrunk vertically.
Why? It's a Bug? How to get a result as I expected?
--
Valdas Jankūnas
result.png.png
Description: PNG image
- Shrinked axes,
Valdas Jankūnas <=