end3r7
- 168
- 0
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.
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.
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.