3D visibility in plot3

1 view (last 30 days)
Weia Reinboud
Weia Reinboud on 30 Jul 2018
Answered: Weia Reinboud on 31 Aug 2018
Functions like mesh show only visible parts of a 3D figure, hiding parts around the corner. I have [x,y,z]-coordinates of a set of lines on a sphere. I can plot them with plot3, but how could I hide points around the corner? (I can do it afterwards in photoshop of course.) Second thing: these are lines upon a sphere, how could I make that sphere visible? As a gray circle or a gray sphere or something like that.
  2 Comments
Jan
Jan on 30 Jul 2018
Please post a screenshot of the problem. What exactly does "parts around the corner" mean? Which sphere do you want to "make visible"? What about using the sphere command to draw a sphere?
Weia Reinboud
Weia Reinboud on 30 Jul 2018
There was a picture already, see above. It shows lines on a sphere. It has something to do with 'hidden' or maybe I should find a way to make a 'meshgrid' of my points.

Sign in to comment.

Answers (1)

Weia Reinboud
Weia Reinboud on 31 Aug 2018
I found a way to circumvent the problems and to make a good enough illustration for my article. Thanks all!

Products

Community Treasure Hunt

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

Start Hunting!