bugGNU Octave - Bugs: bug #57043, Shrunk axes when axes occupy not...

 
 

bug #57043: Shrunk axes when axes occupy not all space of figure

Submitter:  Valdas <zmogas>
Submitted:  Fri 11 Oct 2019 05:18:16 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 11 Oct 2019 05:18:16 PM UTC, original submission:  

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.

 Discussion about this bug in mailing list: https://octave.1599824.n4.nabble.com/Shrinked-axes-td4694069.html

System:
Operating System: Kubuntu 19.04
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.2
Kernel Version: 5.0.0-29-generic
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 1700X Eight-Core Processor
Memory: 15,7 GiB

Octave:
version 6.0.0
graphics_toolkit = qt
hg summary:
parent: 27439:251056aeba5d tip
 Align negative numbers correctly with g format (bug #56940).
branch: default
bookmarks: *@
commit: 2222 unknown (clean)
update: (current)

Valdas <zmogas>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #47651:  result.png.png added by zmogas (79KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zmogas (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-11 zmogas Attached File- Added result.png.png, #47651

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code