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

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

[Octave-bug-tracker] [bug #50511] colororder property seems to be reset


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot
Date: Sun, 12 Mar 2017 16:13:31 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0

Update of bug #50511 (project octave):

                  Status:            Works For Me => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #9:

Executing the test code from comment #3 in Matlab R2016a yields "plot command
resets axes" with a blue line.

Since this is also the same behaviour as described by the original reporter
and in other comments, closing report as invalid.

The slightly modified code from comment #0 that produces the output with the
colororder as expected by the OR:

x=linspace(0,2*pi,n=64);
Y=[sin(x);cos(x);tan(x);cot(x)]';
figure(); clf;
hold on
CO=gray(4);
set(gca,'colororder',CO);
plot(x,Y,";;");
ylim([-1,1]);

current_CO=get(gca,"colororder");
if (size(current_CO)==size(CO))
  if (current_CO==CO)
    printf("colororder worked.\n");
  else
    warning("wrong colororder.\n");
  endif
else
  warning("set colororder did not work");
endif



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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