ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 14 Mar 2016 08:26:42 -0500How can I put math symbols in a plot?http://ask.sagemath.org/question/32799/how-can-i-put-math-symbols-in-a-plot/I want to put math symbols like latex formula in a plot in sagemath. Any idea? Sun, 13 Mar 2016 14:33:58 -0500http://ask.sagemath.org/question/32799/how-can-i-put-math-symbols-in-a-plot/Answer by ndomes for <p>I want to put math symbols like latex formula in a plot in sagemath. Any idea? </p>
http://ask.sagemath.org/question/32799/how-can-i-put-math-symbols-in-a-plot/?answer=32806#post-id-32806For example:
P = plot(1/x^2,1,5)
P += text(r'$\frac{1}{x^2} $',(2,0.4),fontsize=16)
P.show() Mon, 14 Mar 2016 08:26:42 -0500http://ask.sagemath.org/question/32799/how-can-i-put-math-symbols-in-a-plot/?answer=32806#post-id-32806