[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50511] colororder property seems to be reset
From: |
Andrei Kramer |
Subject: |
[Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot |
Date: |
Sun, 12 Mar 2017 14:35:17 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Follow-up Comment #7, bug #50511 (project octave):
So, are you saying that it is alright that set(gca,"colororder",CO) never does
anything unless the defaults are changed or the "NextPlot" property is set to
"replacechildren", and only then?
So, you are ok with this
set(0,"defaultlinelinewidth",4);
plot([0,1],[1:4]'*[1,1],";;");
set(gca,'colororder',gray(4));
set(gca,'xtick',[0,1]);
get(gca,'colororder')
ans =
0.00000 0.00000 0.00000
0.33333 0.33333 0.33333
0.66667 0.66667 0.66667
1.00000 1.00000 1.00000
producing a plot with the _default_ colororder (see attached picture). So, the
get property gets the misleading gray() colororder, which doesn't reflect the
actual graphic.
Note how set xtick worked as expected, but the colororder property did not. If
this is the expected behaviour, then your expectation is incorrect. Some
consistency should apply with these settings.
I will include an updated testcase and results.
(file #39979, file #39980)
_______________________________________________________
Additional Item Attachment:
File name: ColorOrderTest2.m Size:0 KB
File name: WrongColorOrder.png Size:8 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50511>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot, Andrei Kramer, 2017/03/10
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot, Dan Sebald, 2017/03/10
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot, Dan Sebald, 2017/03/10
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot, Andrei Kramer, 2017/03/10
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot, Andrei Kramer, 2017/03/10
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot,
Andrei Kramer <=
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot, Rik, 2017/03/12
- [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot, Markus Mützel, 2017/03/12