资源简介
ARROW(Start,Stop) 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). By itself, ARROW will use the mouse to allow selection.
代码片段和文件信息
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 59561 2016-05-25 17:02 arrow.m
文件 1314 2016-05-25 17:02 license.txt
相关资源
- 太阳板光照强度与板倾斜角和方位角
- Matlab中LMI(线性矩阵不等式)工具箱
- 基于MATLAB的时域采样定理演示系统
- 完全自主研发的粒子群算法来求解约
- Matlab2014_(32and64).txt
- 惯性导航 MATLAB程序
- 基于卡尔曼滤波的目标跟踪matlab经典
- crc32的matlab程序
- 云模型的matlab实现
- matlab实现jpeg压缩过程_MATLAB程序
- Shape Context(matlab)
- lorenz混沌系统 MATLAB仿真
- 《无人驾驶车辆模型预测控制》书中
- 产生4FSK的matlab程序
- 基于MATLAB的SADSSD模板匹配算法
- 支持向量机matlab代码
- DOA与频率联合估计算法的MATLAB仿真
- 三维重建程序 MATLAB语言
- MATLAB代码最小风险贝叶斯决策
- CEEMD代码,matlab亲测可用
- MATLAB实现AM调制
- 太阳能电池matlabm模型
-
LQG主动悬架 maltab simuli
nk实现 - 双门限法语音信号端点检测matlab可实
- 基于遗传神经网络的图像分割MATLAB源
- 用MATLAB生成OFDM信号
- matlab生日祝福音乐动画
- 浮点转定点原理及Matlab例码
- matlab下小波图像融合几种代码
- 提取圆matlab (算法是改进后的霍夫曼
评论
共有 条评论