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

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

[Octave-bug-tracker] [bug #48859] Legend in subplot: axis position wrong


From: Martin Kunz
Subject: [Octave-bug-tracker] [bug #48859] Legend in subplot: axis position wrong
Date: Mon, 22 Aug 2016 15:12:26 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0

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

                 Summary: Legend in subplot: axis position wrong
                 Project: GNU Octave
            Submitted by: mkunz
            Submitted on: Mon 22 Aug 2016 03:12:24 PM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: mkunz
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.3
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

When placing a legend next to a plot (by using an "*outside" location string),
the position property of the current axis object is modified to make space for
the legend. In a subplot layout with two columns, this works the wrong way in
the second column, increasing the plot size instead of making it smaller.
Example:


figure(1)
subplot(121)
plot(1:10)
legend("1","location","eastoutside")

subplot(122)
plot(1:10)
input("Press Enter to continue","s"); legend("2","location","eastoutside")


After pressing the enter key, the plot on the right-hand side grows instead of
shrinking to the same size as the first plot.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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