How do I plot a line that has an arrow on the end of it, in 2-D and 3-D?
232 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 23 Aug. 2013
Bearbeitet: MathWorks Support Team
am 17 Nov. 2021
I would like to have an example that shows how to draw objects with the LINE command.
Akzeptierte Antwort
MathWorks Support Team
am 16 Nov. 2021
Bearbeitet: MathWorks Support Team
am 17 Nov. 2021
There are two files (arrow.m and arrow3.m) that will plot a line with an arrow on the end of it. These files are available on MATLAB Central:
To find these MATLAB files, type their respective names in the Search field.
You may also be interested in the QUIVER and QUIVER3 commands. These functions create 2D and 3D quiver plots. For more information on this function, type:
help quiver
help quiver3
at the MATLAB Command Prompt. If you have installed the documentation, type
doc quiver
doc quiver3
to see the documentation for this function. If you do not have the documentation installed, you can find it here:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Vector Fields finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!