createLineInColorOrder
by Greg Aloe
24 Sep 2002
(Updated 02 Jul 2009)
Force each created line to obey the axes 'ColorOrder' property.
|
Watch this File
|
| File Information |
| Description |
*** NOTE: As of MATLAB® 7.0 (R14), this feature is available at the axes level by using the command "hold all". Use "doc hold" for more information. ***
When lines are created using MATLAB PLOT commands, they are created in a color order specified by the axes' 'ColorOrder' property. However, this only works if you plot multiple lines using the same call to PLOT. Otherwise, they are all created using a single default color.
This function will help you to force all lines within an axes to be plotted in the 'ColorOrder' of that axes, regardless of whether they are all created using the same PLOT command or multiple plot commands.
See "help createLineInColorOrder" for more information.
Works for at least MATLAB® 5.2 (R10) and later. |
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (7) |
| 31 Mar 2003 |
Sarah Green
|
|
|
| 26 Jul 2003 |
Nate Bachman
|
|
|
| 19 Apr 2005 |
S Goswami
|
|
|
| 05 Aug 2005 |
Val Anderson
|
|
|
| 01 Feb 2006 |
Khalid Nazzal
|
|
|
| 14 Sep 2006 |
Jr Tes
|
|
|
| 15 Nov 2007 |
Mathew Owens
|
|
|
| Updates |
| 22 Nov 2002 |
M-File was not downloading, so I'm resubmitting it without changes. |
| 06 Feb 2003 |
Made the interface easier to use for root, figure, or axes ancestry. |
| 20 Apr 2005 |
Note about feature availability in MATLAB 7.0 (R14) |
| 02 Jul 2009 |
Updated submission description to add a registered trademark to MATLAB®. |
|
Contact us at files@mathworks.com