I take it that you are not seeing the bug I am describing - plot
outputting the function values?  This happens to me in sage-2.8.5 but
not 2.6.

Marshall

On Sep 25, 12:14 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On 9/25/07, gani <[EMAIL PROTECTED]> wrote:
>
>
>
> > William's suggestion worked for me. Now, the other question is - is it
> > possible to turn off default plotting when using savefig('fig1.png')?
> > This will allow me to have just 1 figure shown with <img
> > src="fig1.png">.
>
> Not exactly.  However, there is a hack that does allow one to do this.
> Seehttp://sagenb.org/home/pub/1488/
> for this worksheet:
>
> {{{id=0|
> plot(sin,0,5).save('sin.png')
> print '<html><img src="cell://sin.png" width=0></html>'
> ///
> <html><img src="cell://sin.png" width=0></html>
>
> }}}
>
> {{{id=1|
> print '<html><img src="sin.png" width=400></html>'
> ///
> <html><img src="sin.png" width=400></html>
>
> }}}
>
> The trick is that if you refer to an image in HTML in a given
> cell using cell://image_name, then it is isn't auto-displayed.
> So I set the width to 0 so the image is refereed to, but not
> displayed.  This is seriously hack-ish...
>
> William


--~--~---------~--~----~------------~-------~--~----~
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to