bugGNU Octave - Bugs: bug #48083, colormap() issues illegal gnuplot...

 
 

bug #48083: colormap() issues illegal gnuplot command

Submitter:  None
Submitted:  Wed 01 Jun 2016 11:44:26 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Dmitri A. Sergatskov Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.2
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 02 Jun 2016 10:00:09 PM UTC, comment #2: 

I applied this first to stable (http://hg.savannah.gnu.org/hgweb/octave/rev/1b5285c20e0e) and then merged to default.

Fixed.  Closing report.

Rik <rik5>
Group administrator
Thu 02 Jun 2016 08:13:23 AM UTC, comment #1: 

The attached patch does what Dan and Ethan suggested, replacing the singleton colourmap by one with two identical entries.


(file #37349)

Lachlan Andrew <lachlan>
Wed 01 Jun 2016 11:44:26 PM UTC, original submission:  

When M in colorset(M) is a 1x3 vector (e.g. colormap ([0,0,0])), the colormap will issue a gnuplot command
 set palette positive color model RGB maxcolors 1;

maxcolors = 1 is not a legal value as (e.g.) per:

https://sourceforge.net/p/gnuplot/mailman/message/35128378/

Dmitri.
--


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

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 lachlan (Updated the item)
  • -email is unavailable- added by None (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-02 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2016-06-02 lachlan Attached File- Added bug_48083_singleton_colourmap.cset, #37349

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code