12.07.2015 Views

Matlab/Octave Tutorial

Matlab/Octave Tutorial

Matlab/Octave Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MATLAB 程 式 設 計 入 門 篇 : 初 探 MATLAB圖 軸 控 制 範 例 -5 (I)• 長 寬 比 (Aspect Ratio)• 一 般 圖 軸 長 寬 比 是 視 窗 的 長 寬 比• 可 在 axis 指 令 後 加 不 同 的 字 串 來 修 改• 範 例 3-14:plotxy14.mt = 0:0.1:2*pi;x = 3*cos(t);y = sin(t);subplot(2, 2, 1); plot(x, y); axis normalsubplot(2, 2, 2); plot(x, y); axis squaresubplot(2, 2, 3); plot(x, y); axis equalsubplot(2, 2, 4); plot(x, y); axis equal tight60

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!