bugGNU Octave - Bugs: bug #43018, "legend" shifts other...

 
 

bug #43018: "legend" shifts other subplots away (in combination with "hold on")

Submitter:  Hartmut <hardy>
Submitted:  Mon 18 Aug 2014 07:53:22 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.2 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Feb 2015 10:37:18 PM UTC, comment #2: 

Hi

This is fixed with this changeset : http://hg.savannah.gnu.org/hgweb/octave/rev/8064b5cdbc11

I am closing this report.

Pantxo Diribarne <pantxo>
Group Member
Mon 18 Aug 2014 07:55:27 PM UTC, comment #1: 

note:
If you reverse the order of "hold on" and "plot" it also works fine in Octave.

Hartmut <hardy>
Mon 18 Aug 2014 07:53:22 PM UTC, original submission:  

Here is an example of the behavior:


close all;
graphics_toolkit('fltk');

figure(1);

subplot(2,2,3);
plot(1:10);

subplot(2,2,2);
hold on;
plot(1:10);

input('Press key to continue!');
legend('A','Location','NorthEastOutside');


After pressing the key, the newly appearing legend shifts the other subplot out of the way, making it mostly invisible :(

This happens only with fltk. In Gnuplot it's fine.

In Matlab this also works properly.

Hartmut <hardy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by hardy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-09 pantxo Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code