title: how to get good color separation for a few Matlab plot traces?
body: <p>I need very distinct separation between several plot() traces. several means perhaps 2 or 3 or 5 time history traces or XY plots.</p>
  
  <p>prism is nice with 7 distinctly separate colors but its yellow is hardly visible on the default white background.</p>
  
  <p>Here's an example with default colors. They are quite nice but still somewhat muted pastels. I'd prefer brighter colors than default:</p>
  
  <pre><code>figure(1)
  clf
  x=1:100;
  for i = 1:7
    y=i*log(x);  
    plot(x,y, 'Linewidth', 5);
    legendStr{i}=sprintf('line %i',i);
    hold on
  end
  grid on
  legend(legendStr,'location','best')
  </code></pre>
  
  <p>how can I use prism or some other colormap without bright yellow? is there a better approach for plotting a few separate traces in the same figure with really clear color separation?</p>
  
  <p><a href="https://i.stack.imgur.com/oDJ8m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oDJ8m.png" alt="enter image description here"></a></p>