You are on page 1of 1

>> % x y z

>> y=[100.5 200.4 300.2;150.2 250.3 350.6;200.7 300.7 400.9;250.2 350.6 450.3;300.1 400.4 500.9;
350.3 450.7 550.1;400.8 500.1 600.2;450.5 550.5 650.3;500.6 600.7 700.8;550.1 650.3 750.1];

plot3(y(:,1),y(:,2),y(:,3),'or');

>> hold on

>> plot3(y(:,1),y(:,2),y(:,3),'-r');

>> grid on

>> set(gca,'fontweight','bold','fontsize',9);

>> title('Grafik Pengamatan GPS','fontweight','bold','fontsize',14)

>> xlabel('Koordinat-x','fontweight','bold','fontsize',14);

>> ylabel('Koordinat-y','fontweight','bold','fontsize',14);

>> zlabel('Koordinat-z','fontweight','bold','fontsize',14);

You might also like