subplot(511), plot(time,gangguan), grid on, ylabel('Gangguan')
subplot(512), plot(time,tegangan), grid on, ylabel('Teg. Jangkar')
subplot(513), plot(time,arus), grid on, ylabel('Arus Jangkar')
subplot(514), plot(time,rpm), grid on, ylabel('RPM')
subplot(515), plot(time,teta), grid on, ylabel('Posisi Sudut'), xlabel('waktu [sec]')