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

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

[Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap
Date: Sat, 14 May 2016 06:54:21 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #15, bug #47911 (project octave):

OK, I'm getting familiar with this again.  If I recall correctly, that
original bug that motivated the color change was about face color (and black
surface plots).  Hence the hunk of code Ben pointed out


1181                 ## Convert color to 24-bit RGB
1182                 zz(:,kk+3) = hex2dec (sprintf ("%02x%02x%02x",
1183                                                round
(255*obj.facecolor)));


Apparently what is happening is the characters of the string "flat" are being
treated as numerical RGB values and it somehow gets interpreted as bronze.

I'm attaching a patch that solves the immediate issue of the sombrero. 
There's a lot going on here with so many figure properties.  There are bound
to be more small tweaks like this one still needed for the code.


(file #37154)
    _______________________________________________________

Additional Item Attachment:

File name: octave-gnuplot_facecolor-djs2016may14.patch Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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