资源简介
arrow.m为一个画箭头的函数,使用方法里面有说明,很好用。
代码片段和文件信息
function [hyyzz] = arrow(varargin)
% ARROW Draw a line with an arrowhead.
%
% ARROW(StartStop) draws a line with an arrow from Start to Stop (points
% should be vectors of length 2 or 3 or matrices with 2 or 3
% columns) and returns the graphics handle of the arrow(s).
%
% ARROW uses the mouse (click-drag) to create an arrow.
%
% ARROW DEMO & ARROW DEMO2 show 3-D & 2-D demos of the capabilities of ARROW.
%
% ARROW may be called with a normal argument list or a property-based list.
% ARROW(StartStopLengthbaseAngleTipAngleWidthPageCrossDir) is
% the full normal argument list where all but the Start and Stop
% points are optional. If you need to specify a later argument (e.g.
% Page) but want default values of earlier ones (e.g. TipAngle)
% pass an empty matrix for the earlier ones (e.g. TipAngle=[]).
%
% ARROW(‘Property1‘PropVal1‘Property2‘PropVal2...) creates arrows with the
% given properties using default values for any unspecified or given as
% ‘default‘ or NaN. Some properties used for line and patch objects are
% used in a modified fashion others are passed directly to LINE PATCH
% or SET. For a detailed properties explanation call ARROW PROPERTIES.
%
% Start The starting points. B
% Stop The end points. /|\ ^
% Length Length of the arrowhead in pixels. /|||\ |
% baseAngle base angle in degrees (ADE). //|||\\ L|
% TipAngle Tip angle in degrees (ABC). ///|||\\\ e|
% Width Width of the base in pixels. ////|||\\\\ n|
% Page Use hardcopy proportions. /////|D|\\\\\ g|
% CrossDir Vector || to arrowhead plane. //// ||| \\\\ t|
% NormalDir Vector out of arrowhead plane. /// ||| \\\ h|
% Ends Which end has an arrowhead. //<----->|| \\ |
% objectHandles Vector of handles to update. / base ||| \ V
% E angle||<-------->C
% ARROW(H‘Prop1‘PropVal1...) where H is a |||tipangle
% vector of handles to previously-created arrows |||
% and/or line objects will update the previously- |||
% created arrows according to the current view -->|A|<-- width
% and any specified properties and will convert
% two-point line objects to corresponding arrows. ARROW(H) will update
% the arrows if the current view has changed. Root figure or axes
% handles included in H are replaced by all descendant Arrow objects.
%
% A property list can follow any specified normal argument list e.g.
% ARROW([1 2 3][0 0 0]36‘baseAngle‘60) creates an arrow from (123) to
% the origin with an arrowhead of length 36 pixels and
- 上一篇:矩阵实验室Matlab最新版r2009b破解激活
- 下一篇:NBI消除窄带干扰消除
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论