Author Topic: multiple plots in same figure  (Read 544 times)

Offline marcoesteves

  • Newbie
  • *
  • Posts: 1
  • Matlab Forum
    • View Profile
multiple plots in same figure
« on: May 06, 2011, 05:50:42 PM »

Hello people, I need to do a multiple plot with at same figure.


I've got 2 cycles. I need to[/font] override the result of plots in the same figure.
Code: [Select]
for j = 1:Ne
        jj = jj+1;  if jj > Ne, jj = 1; end
        plot(up(:,j),zp, scm(jj,:),'LineWidth',2,'MarkerSize',3); hold on
        st(j,:) = sprintf('%5.1f ut',t(j));
      end
     
      for j=1:nl
          plot(zp,lp(1,j),'k*','LineWidth',3,'MarkerSize',2); hold on
      end

Matlab and SimuLink Development Forum

multiple plots in same figure
« on: May 06, 2011, 05:50:42 PM »