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

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

[Octave-bug-tracker] [bug #55508] legend placed at incorrect location wi


From: Trace Baker
Subject: [Octave-bug-tracker] [bug #55508] legend placed at incorrect location with subplots
Date: Fri, 18 Jan 2019 10:58:14 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

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

                 Summary: legend placed at incorrect location with subplots
                 Project: GNU Octave
            Submitted by: mtn_trace
            Submitted on: Fri 18 Jan 2019 03:58:12 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: mtn_trace
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Mac OS

    _______________________________________________________

Details:

Plotting two subplots, one above the other, in a figure. Adding a legend to
both, with the location set to “northwest” or “northeast.” The legend
on the upper plot is at the correct x position, but centered on the plot’s
upper border in y. The legend on the lower plot is in the expected location.

The legend position is correct when subplots are arranged side-by-side. Did
not try other arrangements or location parameters.

The workaround is to make the plot, then move the top legend to the expected
position with get and set position commands.

The environment is Octave: 4.4.0, graphics toolkit: qt, Mac OS X
ProductVersion: 10.14.2, BuildVersion: 18C54.

Attached code producing the effect is legendloc.m; screenshot with annotations
is legendloc.jpg.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 18 Jan 2019 03:58:12 PM UTC  Name: legendloc.m  Size: 1KiB   By:
mtn_trace

<http://savannah.gnu.org/bugs/download.php?file_id=46009>
-------------------------------------------------------
Date: Fri 18 Jan 2019 03:58:12 PM UTC  Name: legendloc.jpg  Size: 107KiB   By:
mtn_trace

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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