Make 2D markers look 3D
10 views (last 30 days)
Show older comments
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!
0 Comments
Answers (1)
Soumya Saxena
on 5 May 2017
You may create small balls using a "sphere" as follows :
You may also use scatter3 to generate 3D markers using the "filled" option :
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!