Mikie wrote: > Jason, > > Looks too easy. > I am doing this all in a Python script. >
From your answer, it sounds like you figured it out then. Great! Jason > On Oct 14, 2:59 pm, Jason Grout <[email protected]> wrote: >> Mikie wrote: >>> I want to include a simple plotting form in my server. I noticed in >>> the notebook the plotting function creates an image. It must save it >>> to the server then display it. >>> My output page displays strings >>> request.write("<p>%s</p>" % part1) >>> Is there anyway to get it to display an image? >> Save the image to a file and then use the <img> tag to display that file. >> >> sage: plot(x^2,(x,0,1)).save('test.png') >> >> Now use <img src='test.png'/> >> >> 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 -~----------~----~----~----~------~----~------~--~---
