bugGNU Octave - Bugs: bug #32374, legend disappears with its...

 
 

bug #32374: legend disappears with its location is modified

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Sun 06 Feb 2011 08:58:24 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: David Bateman <dbateman>
Originator Name: Ben AbbottOpen/Closed: Closed
Release: devOperating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 06 Feb 2011 10:59:38 PM UTC, comment #3:

Its relatively easy to get this behavior and as matlab now seems to do this we should probably do it too. See the changeset

http://hg.savannah.gnu.org/hgweb/octave/rev/735e43b75e45

D.

David Bateman <dbateman>
Project MemberIn charge of this item.
Sun 06 Feb 2011 10:02:16 PM UTC, comment #2:

David, you are correct. The documentation does not clearly indicate this will work. Although, Matlab 2010b does support this behavior.

The on line documentation indicates ...

LEGEND(...,'Location',LOC)

It is possible that Mathwork's intends that to mean ...

LEGEND('Location',LOC)

... should work?

Ben Abbott <bpabbott>
Project Member
Sun 06 Feb 2011 09:24:14 PM UTC, comment #1:

I'm not sure this is a bug, as reading

http://www.mathworks.com/help/techdoc/ref/legend.html

the location and the orientation can only be set in the legend function a call that sets the text of the keys. You can however do

plot(1:10)
h = legend ("hello world)
set (h, "location", "east")

Could you check the behavior of matlab for this?

D.

David Bateman <dbateman>
Project MemberIn charge of this item.
Sun 06 Feb 2011 08:58:24 PM UTC, original submission:

After the location is change the legend is gone.

Ben Abbott <bpabbott>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dbateman (Posted a comment)
  • -unavailable- added by bpabbott (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Feb 2011 10:59:38 PM UTCdbatemanItem GroupIncorrect Result=>Feature Request
      StatusNone=>Fixed
      Assigned toNone=>dbateman
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1