Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 ]
Paul

Posts: 208
Registered: 2/23/10
Re: Access ColorOrder at Figure level
Posted: May 25, 2012 11:53 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On May 24, 12:12 pm, "Steven_Lord" <sl...@mathworks.com> wrote:
> "Paul" <paul.domas...@gmail.com> wrote in message
>
> news:21c6c1a2-6811-4ecb-b74c-2630eac7c798@oo8g2000pbc.googlegroups.com...
>
>
>
>
>

> > On May 24, 10:08 am, "Steven_Lord" <sl...@mathworks.com> wrote:
> >>"Paul" <paul.domas...@gmail.com> 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?
>
> >>http://www.mathworks.com/help/techdoc/ref/axes_props.html#ColorOrder
>
> >> 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?

>
> >>http://www.mathworks.com/help/techdoc/creating_plots/bqsxy_a-1.html
>
> >> 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.

>
> >>http://www.mathworks.com/help/techdoc/creating_plots/f7-21465.html
>
> > 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:
> >http://www.mathworks.com/help/techdoc/creating_plots/bqsxy_a-1.html

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


Huh. True dat. They're such long webpages, they might as well be
different pages.


> > 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.]


Understood. Thanks for the clarification.



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.