fn_arrow
Contents
Syntax
[hl =] fn_arrow(xdata,ydata[,tiplength[,tipangle[,thickness]]][,'simple|double'][,'line|patch'][,parname1,value1,...])
Description
Draw an arrow
Input:
- xdata,ydata vectors of length 2 - coordinates of the main line of
the arrow
- tiplength scalar or 'x%' - tip length of the arrow expressed
either as the length of its projection on the main
line, or as a percentage of the main line [default:
10%]
can also be a cell array such as {'10%' .1}
- tipangle angle of the arrow tip [default 45°]
- thickness scalar between 0 and 1 - width of the line relative to
the sides of the tip ('patch' mode only) [default:
0.35]
- 'simple' or 'double' specify if one or two ends of the linehave an
arrow [default: simple]
- 'line' or 'patch' arrow style [default: line]
- parameter/value pairs line or patch propertiesSource
Thomas Deneux
Copyright 2015-2017