Make 2D markers look 3D

13 vues (au cours des 30 derniers jours)
sbean320
sbean320 le 2 Mai 2017
Commenté : sbean320 le 5 Mai 2017
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!

Réponses (1)

Soumya Saxena
Soumya Saxena le 5 Mai 2017
You may create small balls using a "sphere" as follows :
You may also use scatter3 to generate 3D markers using the "filled" option :
  1 commentaire
sbean320
sbean320 le 5 Mai 2017
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?

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by