MATLAB Lecture 8 School of Mathematical Sciences Xiamen Univer http://gdjpkc.xmu.edu.cn MATLAB Lecture 8-Graphics-Curve 绘图 Ref: MATLAB- Graphics- Basic Plotting Commands Vocabulary: plot绘图 轴 display显示 annotate注释 curve/ curved line曲线 explicit显式 implicit隐式 parameter参数 polar coordinates极坐标 boldface黑体 grid网格 tite标题 figure图形 legend图例 radian 弧度 radius半径 ● Some functions plot ezplot polar plot title xlabel ylabel *figure biplot grid on *grid off ● Graphics MATLAB provides a variety of functions for displaying vector data as line plots, as well as functions for annotating and printing these graphs t The representation of curve and surface The representation of curve on plane Explicit scheme y=f(x) Implicit formula: F(x, y)=0 x=x(1) Parameter representation Polar coordinates representation: p=f(e) Tabulation, say table of trigonometric function, experimental data etc Figure, say sine curve, experimental curve etc The representation of curve in space Explicit scheme: z=f(x,y) Implicit formula: F(x, y, z)=0 x=x(u, v) Parameter representation: y=y(u, v) (,v) Data form,x={x},y={y},z={n},=1,2,…,m,j=1,2,…,nMATLAB Lecture 8 School of Mathematical Sciences Xiamen University http://gdjpkc.xmu.edu.cn Lec81 MATLAB Lecture 8 Graphics Curve 绘图 Ref: MATLAB→Graphics→Basic Plotting Commands l Vocabulary: plot 绘图 xaxis x 轴 display 显示 annotate 注释 curve/curved line 曲线 explicit 显式 implicit 隐式 parameter 参数 polar coordinates 极坐标 boldface 黑体 grid 网格 title 标题 figure 图形 legend 图例 radian 弧度 radius 半径 l Some functions plot ezplot polar plot3 title xlabel ylabel *figure *legend *subplot *grid on *grid off l Graphics MATLAB provides a variety of functions for displaying vector data as line plots, as well as functions for annotating and printing these graphs. ² The representation of curve and surface ¸ The representation of curve on plane Explicit scheme: y = f(x) Implicit formula: F(x,y) = 0 Parameter representation: ( ) ( ) x x t y y t Ï = Ì Ó = Polar coordinates representation: r = f (q ) Tabulation, say table of trigonometric function, experimental data etc. Figure, say sine curve, experimental curve etc. ¸ The representation of curve in space Explicit scheme: z = f(x,y) Implicit formula: F(x,y,z) = 0 Parameter representation: ( , ) ( , ) ( , ) x x u v y y u v z z u v Ï = Ô Ì = Ô = Ó Data form, { }, { }, { }, 1, 2,..., , 1, 2,..., i j ij x = x y = y z = z i = m j = n . Graphics