comparison scripts/plot/draw/feather.m @ 21751:b571fc85953f

maint: Use two spaces after period to indicate sentence break.
author Rik <rik@octave.org>
date Thu, 19 May 2016 18:48:52 -0700
parents 516bb87ea72e
children 1c4cd12987f5
comparison
equal deleted inserted replaced
21750:6720e5a220ba 21751:b571fc85953f
85 else 85 else
86 error ("feather: invalid linestyle STYLE"); 86 error ("feather: invalid linestyle STYLE");
87 endif 87 endif
88 endif 88 endif
89 89
90 ## Matlab draws feather plots, with the arrow head as one continous 90 ## Matlab draws feather plots, with the arrow head as one continuous line,
91 ## line, and each arrow separately. This is completely different from 91 ## and each arrow separately. This is completely different from quiver and
92 ## quiver and quite ugly. 92 ## quite ugly.
93 n = length (u); 93 n = length (u);
94 xend = [1 : n] + u; 94 xend = [1 : n] + u;
95 xtmp = [1 : n] + u .* (1 - arrowsize); 95 xtmp = [1 : n] + u .* (1 - arrowsize);
96 yend = v; 96 yend = v;
97 ytmp = v .* (1 - arrowsize); 97 ytmp = v .* (1 - arrowsize);