subplot(211), plot(time,gaya), grid on, xlabel('time [sec]'), ylabel('gaya [N]') subplot(212), plot(time,posisi), grid on, xlabel('time [sec]'), ylabel('posisi [m]')