Make 2D markers look 3D

11 次查看(过去 30 天)
sbean320
sbean320 2017-5-2
评论: sbean320 2017-5-5
Hello,
I am interested in making data markers (circles, for example) in a 2D plot look like they have depth/3D curvature. Does anyone know of a way to either make circle markers look like spheres in a 2D plot, specify multiple colors within each marker, or assign a colormap to each marker?
Thank you in advance for your help!

回答(1 个)

Soumya Saxena
Soumya Saxena 2017-5-5
You may create small balls using a "sphere" as follows :
You may also use scatter3 to generate 3D markers using the "filled" option :
  1 个评论
sbean320
sbean320 2017-5-5
Thank you, but this isn't quite what I'm looking for.
I have 2D data I want to represent with hemispherical data markers or circles with shading to make them appear to pop out of the page. Any suggestions for how to do this?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by