PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: biology

MATLAB 二維繪圖 - cc.ntut.edu.tw

MATLAB nplot : n x y x = linspace(0, 2*pi);% 0 2 100 y = sin(x);% x plot(x, y);% (Index) n x y plot n x = linspace(0, 2*pi);% 0 2 100 plot(x, sin(x), x, cos(x), x, sin(x)+cos(x)); % plot(x, sin(x)); hold on; plot(x, cos(x)); hold off; y plotyyx y semilogyx y semilogxx y (Logarithmic Scale)loglogx y (Linear Scale) plot nsemilogx n x x = linspace(0, 8*pi);% 0 8 100 semilogx(x, sin(x)); % x nplotyy n y x = linspace(0, 2*pi);% 0 2 100 y1 = sin(x); y2 = exp(-x); plotyy(x, y1, x, y2); % y y1, y2 nplot n n plot(x, y, CLM )nC (Colors) nL (Line Styles) nM (Markers)n x = 0 :4*pi;y = sin(x); plot(x, y, k:diamond )% k

基本二維繪圖指令 plotyy 畫出兩個刻度不同的y軸 semilogy x 軸為線性刻度,y 軸為對數刻度 semilogx x 軸為對數刻度,y 軸為線性刻度

Loading..

Tags:

  Ntut

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of MATLAB 二維繪圖 - cc.ntut.edu.tw

Related search queries