ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 26 Nov 2015 10:20:45 +0100labeling 3d plotshttps://ask.sagemath.org/question/26270/labeling-3d-plots/I want to add text to my 3d plots. The first 'show' below prints the equation correctly in a 2d plot. The second 'show' does not print the equation correctly in a 3d plot.
Is there a fix to make it work for the 3d plot?
Thanks,
George Craig
t = text("${M}_x = {0}_x$", (1,1))
show(t)
t = text3d("${M}_x = {0}_x$", (1,1,1))
show(t)
Fri, 20 Mar 2015 19:55:21 +0100https://ask.sagemath.org/question/26270/labeling-3d-plots/Answer by eric_g for <p>I want to add text to my 3d plots. The first 'show' below prints the equation correctly in a 2d plot. The second 'show' does not print the equation correctly in a 3d plot.</p>
<p>Is there a fix to make it work for the 3d plot?</p>
<p>Thanks,
George Craig</p>
<pre><code>t = text("${M}_x = {0}_x$", (1,1))
show(t)
t = text3d("${M}_x = {0}_x$", (1,1,1))
show(t)
</code></pre>
https://ask.sagemath.org/question/26270/labeling-3d-plots/?answer=26281#post-id-26281Unfortunatelly, text3d does not support LaTeX yet. Sun, 22 Mar 2015 23:09:56 +0100https://ask.sagemath.org/question/26270/labeling-3d-plots/?answer=26281#post-id-26281Comment by PeterMueller for <p>Unfortunatelly, text3d does not support LaTeX yet. </p>
https://ask.sagemath.org/question/26270/labeling-3d-plots/?comment=31079#post-id-31079Is there any known workaround for this missing functionality? I produced several 3d plots to be used in a talk and was quite surprised to find out that it is not possible to use LaTeX code to annotate 3d images!!! Does it really mean that one has to use Imagemagick or Gimp or such to glue things together??Thu, 26 Nov 2015 10:20:45 +0100https://ask.sagemath.org/question/26270/labeling-3d-plots/?comment=31079#post-id-31079