On Oct 6, 2008, at 9:37 AM, William Stein wrote: > On Mon, Oct 6, 2008 at 4:37 AM, David Joyner <[EMAIL PROTECTED]> > wrote: >> >> On Mon, Oct 6, 2008 at 12:08 AM, [EMAIL PROTECTED] >> <[EMAIL PROTECTED]> wrote: >>> >>> Is it possible to add Latex equations to Sage plots? >> >> >> In 2d plots, yes, for example >> >> sage: P1 = plot(sin(x), (x,-pi,pi)) >> sage: P2 = text("$y=\sin(x),\ -\pi\leq x\leq \pi$", (1.5,4)) >> sage: show(P1+P2) >> >> >> However, I think latex is not (yet?) implemented in text3d. > > Yes, there is no latex support for text in 3d plots, and > in fact nothing planned either. I have no clue how it > would even be possible.
It would render a png and then use texture mapping. Texture mapping would be useful for a lot of other things too--jmol supports it (via voxels) but no one has gotten around to implementing it yet. - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---