octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48664] imshow for binary data: colormap not h


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #48664] imshow for binary data: colormap not handled correctly for gnuplot
Date: Wed, 3 Aug 2016 07:04:18 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #5, bug #48664 (project octave):

I'm attaching an updated version of the patch to get rid of an introduced bug
where the first demo of isosurface, i.e.,

demo('isosurface', 1)

failed.  The problem was that the surfaces had only one color, so the linear
scaling formula failed because dividing by (cmax - cmin) is dividing by zero
and created a NaN for the color.  The default is 'scaled' for 'cdatamapping',
so what to do?  Just leave the color as is, I guess.

(file #38082)
    _______________________________________________________

Additional Item Attachment:

File name: octave-gnuplot_cdatamapping-djs2016aug03.patch Size:6 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48664>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]