Mathematica:Graphics3D中相对于图像坐标的文本

jml*_*pez 6 plot wolfram-mathematica mathematica-8

Mathematica文档说明:"三维图形中的文本放置在与指定的点{x,y,z}的投影相对应的位置.文本在所有其他对象的前面绘制".如何相对于图像大小定位文本?

这是如何在2D中完成的:

custumLabels = Graphics[{
  Text[Style["A", Red, Bold, 18], ImageScaled[{0.025, .95}]], 
  Text[Style["B", Red, Bold, 18], ImageScaled[{0.95, .05}]]}
];
Framed[Show[
  Plot[
    Sin[x] Exp[x], {x, 0, 10},
    Frame -> True,
    PlotRangeClipping -> False,
    FrameLabel -> {"x", "y"}
  ],
  custumLabels
 ],
 FrameMargins -> 0]
Run Code Online (Sandbox Code Playgroud)

产量

只要PlotRangeClipping设置为,那些标签将始终出现在该位置False.问题是,如果我切换到,如何使这些标签出现在该特定位置Graphics3D.尝试简单一点.

Framed[Show[
  Graphics3D[{Sphere[{0, 0, 0}, 1]}]
 ],
 FrameMargins -> 0]
Run Code Online (Sandbox Code Playgroud)

Bre*_*ion 6

EpilogProlog在3D使用扩展的2D坐标系统(对于所有基元):

Graphics3D[{Sphere[]}, Epilog -> Text["abcdef", Scaled[{0.1, 0.1}]]]
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述