bugGNU Octave - Bugs: bug #54926, colormap property of a figure...

 
 

bug #54926: colormap property of a figure cannot be empty

Submitted by:  Guillaume <gyom>
Submitted on:  Wed 31 Oct 2018 04:28:43 PM UTC  
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Wed 31 Oct 2018 07:58:53 PM UTC, comment #1: 

Fixed in this cset: https://hg.savannah.gnu.org/hgweb/octave/rev/57952dd2da42.

There may be other graphics properties that also need to accept an empty value.  File more bug reports if you find them.  "alphamap" might be a possibility.

Rik <rik5>
Project Administrator
Wed 31 Oct 2018 04:28:43 PM UTC, original submission:  

Setting a figure's colormap with an empty array returns an error:

octave:1>  h = figure ("colormap", [])
error: invalid value for array property "colormap"
error: called from
    figure at line 96 column 7

This is for example used in dialog.m:
http://hg.savannah.gnu.org/hgweb/octave/file/976e7346abf4/scripts/gui/dialog.m#l102
and is valid in matlab:
https://www.mathworks.com/help/matlab/ref/dialog.html
(look for description of output argument d at the end of the page).

Guillaume <gyom>

 

(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 gyom (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.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-31 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5