bugGNU Octave - Bugs: bug #49534, cmap=colormap("list") ...

 
 

bug #49534: cmap=colormap("list") returns incorrect output

Submitter:  Clinton Winant <cwinant>
Submitted:  Fri 04 Nov 2016 11:22:07 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Clinton Winant Open/Closed:  * Closed
Release:  * 4.2.0-rc3 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 05 Nov 2016 12:11:01 AM UTC, comment #1: 

The "list" feature was intentionally removed in Octave 4.2. You can read about it in the release notes (type "news" in Octave).

The replacement for this feature is to look at the help for colormap (type "help colormap" in Octave), which now contains a table listing all of the known built in colormap names.

Mike Miller <mtmiller>
Group Member
Fri 04 Nov 2016 11:22:07 PM UTC, original submission:  

The most recently available manual (4.0.3):
https://www.gnu.org/software/octave/doc/v4.0.3/Representing-Images.html
states colormap(list") should work, it doesn't:



GNU Octave, version 4.2.0-rc3
Copyright (C) 2016 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

>> cmap=colormap("list");
error: colormap: failed to set MAP <list>
error: called from
    colormap at line 110 column 11


Clinton Winant <cwinant>

 

(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 mtmiller (Posted a comment)
  • -email is unavailable- added by cwinant (Submitted the item)
  • -email is unavailable- added by cwinant
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-05 mtmiller StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2016-11-04 cwinant Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code