How to draw line in viewer3d ?
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I m trying to use viewer3d as a openGL viewer and it works well for 3D surface and 3D points using images.ui.graphics.Surface and images.ui.graphics.Points but i wonder if it is possible to draw line or connected line inside the viewer ? I dont mean how to show wireframe when using a surface or annotation line.
I just try for exemple to attached 3 vectors in X,Y and Z direction to each 3D object.
I saw 2 functions WideLine and Thinline but i did not find any documentation about them.
Thanks for your help
0 commentaires
Réponses (1)
Matt J
il y a environ 19 heures
You could use images.ui.graphics.Surface to create a very thin cylinder, could you not?
2 commentaires
philippe duvauchelle
il y a environ 4 heures
Déplacé(e) : Matt J
il y a environ 3 heures
Matt J
il y a environ 3 heures
Modifié(e) : Matt J
il y a environ 2 heures
Yes i could but it is far to be the best solution ...
Far in what way?
Nevertheless, i still dont know how to format the data to have NOT connected line.
Perhaps,
for k=1:200
li(k) = images.ui.graphics.WideLine(viewer,"Data",(rand(2,3)-0.5)*30)
end
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
