![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/442808/image.png)
plot an arc between two points
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I have two 3d points on a unit sphere, which are A1(x1,y1,z1) and A2(x2,y2,z2). I want to connect A1 and A2 points and draw an arc. Then my code like this: P = [A1;A2];
plot3(P(:,1),P(:,2),P(:,3)). However, by this way, the connect line between A1 and A2 is a straight line instead of an arc. My plot like below,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/442778/image.jpeg)
Many thanks for your help in advance.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!