When my users create a plot and their graphing session is finished how
do I remove the png file?

On Oct 14, 3:54 pm, Jason Grout <jason-s...@creativetrax.com> wrote:
> 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 <jason-s...@creativetrax.com> 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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to