quickplot.m 324 B

12345678910
  1. function quickplot(theta,uno,dos,titulo);
  2. theta=[theta theta(1)];
  3. uno=[uno uno(1)];
  4. dos=[dos dos(1)];
  5. polarplot(theta,uno,'-o'); hold on;
  6. polarplot(theta,dos,'-o');
  7. polarplot(theta,repmat(0.5,length(uno),1),'k--');
  8. rlim([0 1]); title(titulo); legend('Circle','Square','Chance')
  9. end