2
$\begingroup$

How is possible to use Tooltip to point out vertices of a polyhedron? Would like coordinate display while mousing over the vertex. Thanks for the help.

Rohn = PolyhedronData["Icosidodecahedron", "VertexCoordinates"];
DelaunayMesh[Rohn]
Show[ListPlot3D[Rohn, AxesStyle -> Thickness[0.005], 
  AxesLabel -> {"X", "Y", "Corr(X,Y)"}, 
  AxesEdge -> {{-1, -1}, {-1, -1}, {-1, -1}}], 
 ListPointPlot3D@
  Tooltip@Flatten[MapIndexed[Flatten@{#2, #1} &, Rohn, {2}], 1]]
$\endgroup$
0
$\begingroup$

Using the method from this answer to a related question:

g3d = PolyhedronData["Icosidodecahedron"]; 
Graphics3D[{FaceForm[Opacity[.7]], g3d[[1]], {Sphere[#, .1] & /@ Rohn, 
   Tooltip[Text["", #], #] & /@ ToRadicals[Rohn]}}, Axes -> True, 
 AxesStyle -> Thickness[0.005], AxesLabel -> {"X", "Y", "Corr(X,Y)"}, 
 AxesEdge -> {{-1, -1}, {-1, -1}, {-1, -1}}]

enter image description here

$\endgroup$
1
$\begingroup$

Do you mean something like this?

MeshRegion[DelaunayMesh[Rohn], MeshCellLabel ->
  MapIndexed[Prepend[#2, 0] -> Placed[{#1}, Tooltip] &, Rohn]
]

enter image description here

$\endgroup$
  • $\begingroup$ Yes, it helps a lot. Point update at places is slower however. Maybe thicker edge choice needed? $\endgroup$ – Narasimham Jun 17 at 17:17
  • $\begingroup$ What do you mean by "point update"? For thicker edges I would add MeshCellStyle -> {1 -> Thick} to MeshRegion. $\endgroup$ – ccosm Jun 17 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.