Effacer les filtres
Effacer les filtres

Assigning labels and lines to points on a 3D scatter plot

26 vues (au cours des 30 derniers jours)
Chris
Chris le 3 Mar 2021
So I have the following code:
x = 1
y = 1
z = 1
scatter3(x,y,z)
text(x+.5,y+.5,z+.5,'point 1', 'FontSize', 20)
I want to draw a line from the label I created, regardless of the postion I assign the text to be, to the location of the plotted point on the graph.
Any suggestions?

Réponses (1)

darova
darova le 4 Mar 2021
Use plot3 or line

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by