Plot With Direction 3D
Version 1.0.0.0 (1.4 KB) by
Kangwon Lee
Plot column vectors with arrows pointing to the next elements in 3D.
function [h1, h2] = plot_dir3 (vX, vY, vZ)
Plotting x-y-z variables with direction indicating vector to the next element.
Example
vX = linspace(0,2*pi, 10)';
vY = sin (vX);
vZ = cos (vX);
plot_dir3(vX, vY, vZ);
Cite As
Kangwon Lee (2026). Plot With Direction 3D (https://uk.mathworks.com/matlabcentral/fileexchange/29307-plot-with-direction-3d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Find more on Vector Fields in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
