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: Rik
Subject: [Octave-bug-tracker] [bug #50511] colororder property seems to be reset on plot
Date: Fri, 10 Mar 2017 18:06:49 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #6, bug #50511 (project octave):

Check the documentation for colororder carefully.  It is doing what is
documented.


ColorOrder
m-by-3 matrix of RGB values

Colors to use for multiline plots. ColorOrder is an m-by-3 matrix of RGB
values that define the colors used by the plot and plot3 functions to color
each line plotted. If you do not specify a line color with plot and plot3,
these functions cycle through the ColorOrder to obtain the color for each line
plotted. To obtain the current ColorOrder, which may be set during startup,
get the property value:

get(gca,'ColorOrder')

Note that if the axes NextPlot property is set to replace (the default),
high-level functions like plot reset the ColorOrder property before
determining the colors to use. If you want MATLAB to use a ColorOrder that is
different from the default, set NextPlot to replacechildren. You can also
specify your own default ColorOrder. 




    _______________________________________________________

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]