When you set DefaultAxesColorOrder
and DefaultAxesLineStyleOrder
, MATLAB will first cycle through all colors with the first style, then again through all colors with the second style and so on.
What I would like to do is to reverse the cyclying order, so that it cycles through the different line styles first, before cycling to the next color to repeat this process.
For example, if I set DefaultAxesColorOrder
to [1 0 0; 0 1 0; 0 0 1]
and DefaultAxesLineStyleOrder
to '-|--|:'
, the lines will be:
'r-'
,'g-'
,'b-'
,'r--'
,'g--'
,'b--'
,'r:'
,'g:'
,'b:'
I just want the lines to be
'r-'
,'r--'
,'r:'
,'g-'
,'g--'
,'g:'
,'b-'
,'b--'
,'b:'
instead.
This should enhance the visual appearance for certain data as the plot looks less colorful or "random" when going through the line styles first.
Edit: I explained in the comments below, why I'd still appreciate help to find a solution (at least with the existing codes mentioned there as well)