3D visibility in plot3

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 件のコメント

Jan
Jan 2018 年 7 月 30 日
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 2018 年 7 月 30 日
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.

サインインしてコメントする。

回答 (1 件)

Weia Reinboud
Weia Reinboud 2018 年 8 月 31 日

0 投票

I found a way to circumvent the problems and to make a good enough illustration for my article. Thanks all!

カテゴリ

製品

質問済み:

2018 年 7 月 30 日

回答済み:

2018 年 8 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by