bugGNU Octave - Bugs: bug #41160, subplot( 1 ,N,P) and legend()...

 
 

bug #41160: subplot( 1 ,N,P) and legend() problem

Submitter:  Daisuke TAKAGO <takago>
Submitted:  Thu 09 Jan 2014 06:26:55 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Daisuke TAKAGO Open/Closed:  * Closed
Release:  * 3.8.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 10 Jan 2014 07:57:38 AM UTC, comment #2: 

Hi Rik. Thank you for your reply. I tried that code on other two sub-PCs, and it worked fine on both. I do not know why it does not work fine on my main PC. I'll report if I notice something.


Daisuke TAKAGO <takago>
Thu 09 Jan 2014 06:43:06 AM UTC, comment #1: 

The example that was a problem for you:


close all;subplot(1,3,2);plot(1:100);legend 'A';subplot(1,3,2);


works fine for me on a Linux machine with 3.8.0.

Rik <rik5>
Group administrator
Thu 09 Jan 2014 06:26:55 AM UTC, original submission:  

I found a bug about combination of legend() and subplot( 1 ,N,P).



# EXAMPLE1 (Not Works Well)
close all;subplot(1,3,2);plot(1:100);legend 'A';subplot(1,3,2);
( the first plot is erased )

# EXAMPLE2 ( Works Well)
close all;subplot(3,1,2);plot(1:100);legend 'A';subplot(3,1,2);

# EXAMPLE3 ( Works Well)
close all;subplot(1,3,2);plot(1:100);subplot(1,3,2);
close all;subplot(3,1,2);plot(1:100);subplot(3,1,2);

Daisuke TAKAGO <takago>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by takago (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-21 rik5 Open/ClosedOpen Closed
    2014-01-09 rik5 StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code