资源简介
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消除窄带干扰消除
相关资源
- NBI消除窄带干扰消除
- 矩阵实验室Matlab最新版r2009b破解激活
- 用matlab实现lz编码的源程序
- 用matlab实现huffman编码的m文件
-
matlab pid fuzzy simuli
nk - 基于空间矢量控制的matlab模型
- 刘金琨机器人控制系统的设计与Matl
- 材料力学中的挠曲线绘图MATLAB程序
- 基于小波的神经网络matlab代码
- 利用MATLAB对图像进行DCT变换的代码
- 迭代学习,matlab仿真源码,实用
- arma matlab 代码
- 170421NMS算法matlab程序
- 贝叶斯最小错误分类器 matlab
- OFDM系统实现matlab程序发送到接收的每
- matlab仿真雷达SAR点目标成像算法
- 如何将Excel中的数据导入MATLAB并在MA
- matlab 手写数字/字母模式识别
- 数字图像相关算法
- ofdm符号定时与频偏联合估计算法mat
- goldstein 滤波
- 双摆的MATLAB模拟
- 基于MATLAB的MIMO通信系统仿真
- 消失点检测程序
- matlab混合高斯背景建模
- 系统辨识参数辨识matlab程序
- 解决MATLab2012b Symbolic_Toolbox License 许可
- 血管三维模型重建
- matlab 三维立体图生成器双眼视差
- 给予MATLAB的DSB调制解调代码
评论
共有 条评论