摘要
在三维空间中用MATLAB画出曲面的一般方法是:建立曲面x,y,z坐标的两个变量的参数式,再用MATLAB作图命令画出曲面图形.再对图形加上光照、颜色、灯光、消隐等命令,可以作出非常漂亮的图形。本文还对一些常用的图形给出如何利用MATLAB的矩阵运算与数组运算巧妙作出曲面参数式的例子,并给出两空心圆柱相交及在一个球面中嵌入两个圆柱面的复杂曲面给出作图的例子.
At three- dimensional space by MATLAB the general method that drawing surface is: Build up firstly the parametric form of coordinate x, y, z of the surface with two variable, then draw it's figure with the MATLAB. Plus the order of the light, color, lighting, hidden removal again, can make the very beautiful figures. In this paper given examples how draw rome common figures by matrix operates and array operation of MATLAB, then it given an example how draw a sphere in which imbed two cylinder.
出处
《广西师范学院学报(自然科学版)》
2006年第4期97-101,共5页
Journal of Guangxi Teachers Education University(Natural Science Edition)