[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @b
From: |
David Bateman |
Subject: |
[Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot |
Date: |
Mon, 26 Apr 2010 14:10:40 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1) |
Follow-up Comment #9, bug #29431 (project octave):
It would be relatively easy to make bar use the colororder property rather
than the colormap. Just set the cdata properties to the value given by the
next_line_color function. If cdata is a triplet this value is respected.
However, colororder by default has 7 colors defined and so consider
plotyy(1:10,1:10,1:10, rand(10,8), @plot, @bar)
The first and eigth bar will have the same color and the seventh the same
color as the line. This is probably the main reason mathworks made the choice
of using the colormap for bar plots as the colormap by default has 64 colors.
So I'd still consider this a bad idea
D.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29431>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot, Rik, 2010/04/06
- [Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot, David Bateman, 2010/04/09
- [Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot, David Bateman, 2010/04/25
- [Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot, Michael Duelli, 2010/04/26
- [Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot, David Bateman, 2010/04/26
- [Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot, Michael Duelli, 2010/04/26
- [Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot, David Bateman, 2010/04/26
- [Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot, Michael Duelli, 2010/04/26
- [Octave-bug-tracker] [bug #29431] Wrong colors with plotyy when using @bar as second plot,
David Bateman <=