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

 
 

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

Submitted by:  Hartmut <hardy>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5