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

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

[Octave-bug-tracker] [bug #39317] subplot outerposition is not compatibl


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #39317] subplot outerposition is not compatible with Matlab
Date: Sat, 22 Jun 2013 04:15:03 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39317>

                 Summary: subplot outerposition is not compatible with Matlab
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Sat 22 Jun 2013 12:15:01 AM EDT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Matlab gives,


get (subplot (211), 'outerposition')
ans =         0    0.5457    1.0000    0.4097


And Octave,


get (subplot (211), "outerposition")
ans =   0.050000   0.510000   0.900000   0.440000


The implied margin being added to the perimeter of the figure for subplots
interferes with the placement of the legend box when the legend is placed
outside the subplot's axes position.  I'm attaching a simple example.


subplot (2,1,1)
plot (rand (3))
legend blue green red
legend location northeastoutside
print -dpng -r72 subplot211-octave.png


There is also a problem with legend(), which is partially covered by the
bug-report #39316




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 22 Jun 2013 12:15:01 AM EDT  Name: subplot211-matlab.png  Size: 5kB 
 By: bpabbott

<http://savannah.gnu.org/bugs/download.php?file_id=28384>
-------------------------------------------------------
Date: Sat 22 Jun 2013 12:15:01 AM EDT  Name: subplot211-octave.png  Size: 8kB 
 By: bpabbott

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39317>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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