color a portion of a sphere surface
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How would I color just the portion of the surface of the sphere below connected by the 4 black dots? The fill3 or patch function do not work because the surface is curved and not flat.
1 Kommentar
Andy
am 31 Aug. 2022
lmac456: May I ask to see the code that you used to generate your plot? I'm trying to do something similar, but with hexagonal sections.
Antworten (1)
Walter Roberson
am 13 Sep. 2017
Bearbeitet: Walter Roberson
am 13 Sep. 2017
Each face of the sphere is locally flat for drawing purposes. If that is too "rough" then you would need to create additional faces that subdivide to get a finer approximation to curvature.
2 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!