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.  See 
http://sagemath.org/doc/reference/sage/plot/plot.html?highlight=show#sage.plot.plot.Graphics.show

Thanks,

Jason

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to