For the life of me, I can't figure out how to set the color order and line order to cycle through the graphs of my program.(adsbygoogle = window.adsbygoogle || []).push({});

What I have right now (and I've tried a bunch of different stuff in the past) is

set(gca, 'ColorOrder', [0 0 1; 0 1 0; 1 0 0]);

set(gca,'LineStyleOrder',{'-*',':','o'});

as the first line of my code, but it wont' cycle,a nd I'm currently going insane (just a little).

Any help would be most apprecitaed.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB 'LineOrder' and 'ColorOrder' help

Loading...

Similar Threads - MATLAB 'LineOrder' 'ColorOrder' | Date |
---|---|

Matlab Coding angular spectrum of waves in a fluid | Yesterday at 7:30 AM |

How to program this in Matlab | Feb 28, 2018 |

Matlab Making a short test for self-adjointness | Feb 23, 2018 |

**Physics Forums - The Fusion of Science and Community**