title: MATLAB: cycle through lines before colors when plotting
body: <p>When you set <code>DefaultAxesColorOrder</code> and <code>DefaultAxesLineStyleOrder</code>, MATLAB will first cycle through all colors with the first style, then again through all colors with the second style and so on. </p>
  
  <p>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.</p>
  
  <p>For example, if I set <code>DefaultAxesColorOrder</code> to <code>[1 0 0; 0 1 0; 0 0 1]</code> and <code>DefaultAxesLineStyleOrder</code> to <code>'-|--|:'</code>, the lines will be:</p>
  
  <p><code>'r-'</code>,<code>'g-'</code>,<code>'b-'</code>,<code>'r--'</code>,<code>'g--'</code>,<code>'b--'</code>,<code>'r:'</code>,<code>'g:'</code>,<code>'b:'</code></p>
  
  <p>I just want the lines to be</p>
  
  <p><code>'r-'</code>,<code>'r--'</code>,<code>'r:'</code>,<code>'g-'</code>,<code>'g--'</code>,<code>'g:'</code>,<code>'b-'</code>,<code>'b--'</code>,<code>'b:'</code> instead.</p>
  
  <p>This should enhance the visual appearance for certain data as the plot looks less colorful or "random" when going through the line styles first.</p>
  
  <p>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)</p>