bugGNU Octave - Bugs: bug #42103, legend does not support image...

 
 

bug #42103: legend does not support image objects

Submitted by:  Rik <rik5>
Submitted on:  Sat 12 Apr 2014 08:38:47 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: Wont FixAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 13 Apr 2014 03:48:50 PM UTC, comment #2:

Since Matlab doesn't support legends for image objects, I don't see why Octave should have to either. Closing report.

Rik <rik5>
Project Administrator
Sun 13 Apr 2014 09:14:44 AM UTC, comment #1:

Actually, the image "displayname" property doesn't seem to be used in matlab. Your example script returns:

I googled "matlab image legend" and found that indeed legends are not supported for image objects (see e.g. http://www.mathworks.in/matlabcentral/newsreader/view_thread/275317).

Pantxo Diribarne <pantxo>
Project Member
Sat 12 Apr 2014 08:38:47 PM UTC, original submission:

image objects in Matlab have a DisplayName property and can be used in legends. Following cset 2deed6538c72, Octave image objects now have the DisplayName property as well. Legend needs to be modified to support these objects.

It would be useful if someone with access to Matlab could also test whether the default legend location is changed to be "outside" the plot box. Sample code for testing:

Rik <rik5>
Project Administrator

 

(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 pantxo (Posted a comment)
  • -unavailable- added by rik5 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Apr 2014 03:48:50 PM UTCrik5StatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1