[Top][All Lists]

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

[Octave-bug-tracker] [bug #49382] legend position inaccurate with subplo

From: Hartmut
Subject: [Octave-bug-tracker] [bug #49382] legend position inaccurate with subplots
Date: Tue, 18 Oct 2016 18:46:38 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0


                 Summary: legend position inaccurate with subplots
                 Project: GNU Octave
            Submitted by: hardy
            Submitted on: Tue 18 Oct 2016 06:46:36 PM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0-rc2
        Operating System: Any



Here is a little script to show the behavior:

clear, close all
graphics_toolkit qt

legend('legend text at wrong position (too high)');
% if you stop the script here, via a "break" command, then it will be fine
legend('legend text at proper position');

The legend in the upper subplot is printed at a too high position. Depending
on the screen resolution (or fontsize?) this is more or less obvious.

If you stop the script at the marked position (before creating the second
subplot), then the legend position will stay correct.

This happens with graphics_toolkit qt as well as fltk. Gnuplot is fine in this

This happens with Octave 4.0.3, and with Octave 4.2.0-rc2, on Linux and on

I wasn't sure if this is part of the behavior in bug #39697, that's why I
opened a new bug report. I naively assume that NO listener would be necessary
to fix this issue here, the subplot sizes should be known in advance.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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