title: MATLAB: set line's color and style order to be applied in parallel
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>See this <a href="http://www.mathworks.com/help/techdoc/creating_plots/bqsxy_a-1.html" rel="nofollow noreferrer">documentation</a> or <a href="https://stackoverflow.com/questions/4258341/how-do-i-set-the-default-linestyle-for-plots-in-matlab">related question</a>.</p>
  
  <p>What I would like to do is to set color order and style order to be applied independently.</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 <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>. I want lines to be <code>'r-'</code>,<code>'g--'</code>,<code>'b:'</code>.</p>