Hi Jason, Thanks for the reply! But I would like the png file of a latex expression, not a plot, to have transparent background.
Shing On Jan 2, 9:46 pm, Jason Grout <jason-s...@creativetrax.com> wrote: > Shing Hing Man wrote: > > I am using Sage 4.0.2. The myImage.png produced by the following > > command has a white background. > > > latex.eval("$\\frac{1}{2}$", {}, filename="/home/foo/myImage.png") > > > Is it possible to have transparent background ? > > > Thanks in advance for any assistance! > > > Shing > > Try something like this: > > plot(x^2,(x,0,1),transparent=True) > > It's an option to "show". Options to show are automatically passed from > plot commands to the function that displays it. > Seehttp://sagemath.org/doc/reference/sage/plot/plot.html?highlight=show#... > > Thanks, > > Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org