Sage version : 4.3.1 Séquence : latex test.tex sage test.sage latex test.tex
messages : when running sage test.sage : sage test.sage Processing Sage code for test.tex... Initializing plots directory Plot 0 Code block begin...end Plot 1 Code block begin...end Plot 2 Inline formula 0 Inline formula 1 Sage processing complete. Run LaTeX on test.tex again. then latex test.tex Package sagetex Warning: Graphics file sage-plots-for-test.tex/plot-2.png on pa ge 2 does not exist. Plot command is on input line 256. [2] Package sagetex Warning: There were undefined Sage formulas and/or plots. Run Sage on test.sage, and then run LaTeX on test.tex again. [3] (./test.aux) ) Output written on test.dvi (3 pages, 12284 bytes). Transcript written on test.log. In the folder sage-plots-for-test.tex there's not plot-2.png but plot-2.png.sobj --- En date de : Jeu 4.3.10, Jason Grout <jason-s...@creativetrax.com> a écrit : De: Jason Grout <jason-s...@creativetrax.com> Objet: [sage-support] Re: Re : Re: Sagetex issue À: sage-support@googlegroups.com Date: Jeudi 4 mars 2010, 1h16 On 03/03/2010 07:34 AM, Colombel Bruno wrote: > I'm trying to use sagetex to put 3d-surfaces in latex document : > > \begin{sageblock} > > var('u,v') > > h= lambda u,v: u^2 + 2*v^2 > > f=plot3d(h, (u,-1,1), (v,-1,1)) > > f.show() > > \end{sageblock} > > \sageplot[][png]{f} > > > The \sageplot function doesn't work here ... > > > The file plot-0.png and plot-0.eps are not created ... > > > Same problem with implicit3dplot, ... > > > > If anybody knows what to do .... This code works for me in a tex document using sage 4.3.3 (i.e., I see the 3d figure) 1. What version of Sage are you using? 2. What sequence of commands do you use? 3. Do you see any error messages? Thanks, Jason -- 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 -- 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