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

 
 

bug #48083: colormap() issues illegal gnuplot command

Submitted by:  None
Submitted on:  Wed 01 Jun 2016 11:44:26 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned to: None
Originator Name: Dmitri A. SergatskovOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.2
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project Member
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 File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by lachlan (Updated the item)
  • -unavailable- added by None (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Jun 2016 10:00:09 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 02 Jun 2016 08:13:23 AM UTClachlanAttached File-=>Added bug_48083_singleton_colourmap.cset, #37349

    Back to the top


    Powered by Savane 3.1-cleanup1