matlab 改变视点
来源:互联网 发布:免费游戏挂机软件 编辑:程序博客网 时间:2024/05/23 16:53
view
Viewpoint specification
Syntax
view(az,el)
view([az,el])
view([x,y,z])
view(2)
view(3)
view(ax,...)
[az,el] = view
T = view
Description
The position of the viewer (the viewpoint) determines the orientationof the axes. You specify the viewpoint in terms of azimuth and elevation,or by a point in three-dimensional space.
view(az,el) and view([az,el]) setthe viewing angle for a three-dimensional plot. The azimuth,az,is the horizontal rotation about the z-axis asmeasured in degrees from the negativey-axis.Positive values indicate counterclockwise rotation of the viewpoint.el isthe vertical elevation of the viewpoint in degrees. Positive valuesof elevation correspond to moving above the object; negative valuescorrespond to moving below the object.
view([x,y,z]) sets theviewpoint to the Cartesian coordinatesx, y,and z. The magnitude of (x,y,z) isignored.
view(2) sets the defaulttwo-dimensional view,az = 0, el = 90.
view(3) sets the defaultthree-dimensional view,az = –37.5, el= 30.
view(ax,...) uses axes ax insteadof the current axes.
[az,el] = view returnsthe current azimuth and elevation.
T = view returns the current4-by-4 transformation matrix.
Remarks
Azimuth is a polar angle in thex-y plane,with positive angles indicating counterclockwise rotation of the viewpoint.Elevation is the angle above (positive angle) or below (negativeangle) thex-y plane.
This diagram illustrates the coordinatesystem. The arrows indicate positive directions.
Examples
View the object from directly overhead.
az = 0;el = 90;view(az, el);
Set the view along the y-axis,with thex-axis extendinghorizontally and thez-axisextending vertically in the figure.
view([0 0]);
Rotate the view about the z-axisby 180º.
az = 180;el = 90;view(az, el);
See Also
viewmtx, hgtransform, rotate3d
Camera Viewpoint for related functions
Axes graphics object properties CameraPosition,CameraTarget, CameraViewAngle,Projection
Definingthe View for more information on viewing concepts and techniques
TransformingObjects for information on moving and scaling objects in groups
Provide feedback about this page vertexAttachments (TriRep) viewmtx© 1984-2009 The MathWorks, Inc. • Terms of Use • Patents • Trademarks • Acknowledgments
- matlab 改变视点
- matlab改变工作路径
- matlab imresize 改变图像大小
- matlab imresize 改变图像大小
- Matlab之批量改变图片大小
- matlab imresize 改变图像大小
- 视点矩阵
- 如何改变matlab刻度范围,如果改变坐标轴刻度字体大小
- 转:改变matlab的数学库
- 改变matlab的默认工作目录
- MATLAB函数图像坐标轴刻度改变
- MATLAB----改变figure大小和字号
- matlab作图如何改变坐标刻度
- matlab利用分段线性插值改变采样频率
- 利用 matlab 批量改变图片尺寸大小
- matlab legend字号改变——matlab论坛
- 线性方程组的行视点与列视点
- OpenGL-视点的建立
- SSH面试题
- 测试 代码的一些体会!说实话,前半部分能看懂,因为深有感触
- 芯片FXAS21002CQR1 (Freescale) -- 3轴 MEMS 陀螺仪
- 打造专业外观-九宫图
- [JS]获取表单的引用
- matlab 改变视点
- mvc改变路由
- js验证表单大全
- 解斐波那契数列
- JS的Document属性和方法
- Linux 安装PHP配置参数
- mini2440之启动机制
- oracle 12c EM 安装 WebTier Could Not Be Started
- 算法题笔记