octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57043] Shrunk axes when axes occupy not all s


From: Valdas
Subject: [Octave-bug-tracker] [bug #57043] Shrunk axes when axes occupy not all space of figure
Date: Fri, 11 Oct 2019 13:18:19 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

URL:
  <https://savannah.gnu.org/bugs/?57043>

                 Summary: Shrunk axes when axes occupy not all space of figure
                 Project: GNU Octave
            Submitted by: zmogas
            Submitted on: 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: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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) 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 11 Oct 2019 05:18:17 PM UTC  Name: result.png.png  Size: 79KiB   By:
zmogas

<http://savannah.gnu.org/bugs/download.php?file_id=47651>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57043>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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