The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Access ColorOrder at Figure level
Replies: 4   Last Post: May 25, 2012 11:53 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Access ColorOrder at Figure level
Posted: May 24, 2012 12:12 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Paul" <> wrote in message
> On May 24, 10:08 am, "Steven_Lord" <> wrote:
>>"Paul" <> wrote:

>>> The help for ColorOrder says that one can set the ColorOrder at the
>>> Figure level. I tried to access this as a Figure property through the
>>> GUI, but no such property is listed. Am I wrongly interpreting the
>>> help?

>> Are you referring to this documentation?
>> I don't see any reference to the figure in that. Or this
>> documentation that talks about setting the _default_ ColorOrder for
>> a figure, which will affect all axes created in that figure after
>> the default is set?
>> Setting defaults for a property is a little different than setting
>> the property itself. In particular, the object on which you call SET
>> is different.

> Hi, Steven,
> It's none of those pages. It's odd that neither of the 1st two pages
> about ColorOrder links to the one I am referring to:

Certain topics are covered in multiple places in the documentation. But if
you compare URLs the second one I posted matches this one.

> But I found the answer by re-reading that page more carefully:
> get(gcf,'DefaultAxesColorOrder')

Yes, that will change the default value for the ColorOrder property used by
any axes that are later created in the figure whose handle was returned by
that call to GCF. [Note that this will not affect existing axes unless they
get cleared as per a call to PLOT or CLA or the like, which reset the
ColorOrder property to the (new) default.]

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.