[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/
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, (continued)
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Rik, 2016/05/13
- Message not available
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Dan Sebald, 2016/05/13
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Ben Abbott, 2016/05/13
- Message not available
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Dan Sebald, 2016/05/13
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Ben Abbott, 2016/05/13
- Message not available
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Dan Sebald, 2016/05/13
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Ben Abbott, 2016/05/13
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Ben Abbott, 2016/05/13
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Ben Abbott, 2016/05/13
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap, Dan Sebald, 2016/05/13
- [Octave-bug-tracker] [bug #47911] sombrero in gnuplot ignores colormap,
Dan Sebald <=
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Rik, 2016/05/14
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Ben Abbott, 2016/05/14
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Dan Sebald, 2016/05/14
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Ben Abbott, 2016/05/14
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Rik, 2016/05/15
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Ben Abbott, 2016/05/15
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Ben Abbott, 2016/05/15
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Ben Abbott, 2016/05/15
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Ben Abbott, 2016/05/15
- [Octave-bug-tracker] [bug #47911] edges of mesh visible with flat shading and gnuplot toolkit, Dan Sebald, 2016/05/15