Plot sets of vectors starting at the origin

Plots vectors starting at the origin in different colors. Useful to compare sets of vectors.
384.0 次下载
更新时间 2013/6/3

查看许可证

USAGE
plot_vectors(vectors)
plot_vectors(vectors,normalize)

INPUT
- VECTORS: cell array with Vix2 or Vix3 matrices (i=1,2,...) in the cell i, with the x-, y- and z-coordinates for Vi vectors
- NORMALIZE: 1 (normalize the vectors) or 0 (don't normalize)

OUTPUT
Figure with the vectors from VECTORS{i} starting at the origin. Colors for VECTORS{i}: blue (i=1,8,...), red (i=2,9,...), green (i=3,10,...), cyan (i=4,11,...), magenta (i=5,12,...), yellow (i=6,13,...), black (i=7,14,...).

引用格式

Guilherme Coco Beltramini (2024). Plot sets of vectors starting at the origin (https://www.mathworks.com/matlabcentral/fileexchange/41946-plot-sets-of-vectors-starting-at-the-origin), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Line Plots 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Added screenshot

1.0.0.0