[Octave]Plot banyak variabel


x = 0:0.01:2;                
y1= 5*x.*exp(-3*x);          
y2 = y + 0.02*randn(size(x)); 
y3=yn + 0.03*randn(size(x));
plot(x,y1,'-',x,y2,'ro',x,y3,'+');      

xlabel('x');         
ylabel('y1,y2,y3');
title('Plot banyak variable');
legend('y1','y2',' y3');

hasil :

  1. makasih infonya yaaa..

  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s