I want to add a "Pointer" to a 3-D plot.
I want this "pointer" to point at a certain spot on a sphere that I have drawn.
This pointer does not have to have an arrowhead but would be nice if it did.
Thanks for any help!
I want to add a "Pointer" to a 3-D plot.
I want this "pointer" to point at a certain spot on a sphere that I have drawn.
This pointer does not have to have an arrowhead but would be nice if it did.
Thanks for any help!
Plain copy from The MathWorks documentation. For further details have a look at this.
Also make sure to check out the excellent ARROW submission on FEX by Erik Johnson (dates back to 2000 but updated in 2009).
screenshot http://www.mathworks.com/matlabcentral/fx_files/278/3/arrow_demo.png
And the easy way to add arrows and such like is to use the Plot Tools. You can activate the Plot Tools by clicking on the rightmost icon in the toolbar on the window containing the figure you have drawn. Once you've got the arrow as you want it, you could then generate the m-file from the graphic.