title: Different color line with plotpc in matlab
body: <p>I am plotting two plotpc charts (i want to see decision boundaries from perceptron and from Bayesian net) and I need them to have different color.</p>
  
  <pre><code>plotpv(P,T);
  hold all;
  plotpc(net.IW{1,1},0,'r');
  plotpc([w1(maxind(1)), w2(maxind(2))],0,'g');
  title('Decision boundaries');
  </code></pre>
  
  <p>However all my trials ended up with failure and I always get same colors like this:</p>
  
  <p><a href="https://i.stack.imgur.com/YFwQO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YFwQO.png" alt="enter image description here"></a></p>
  
  <p>Thank you for help.</p>