In section 4.2 of the SageLaTeX manual (page 11) explains how to
create a LaTeX document with a Mathematica plot using SageLaTeX.  I
tried the following code but no output is produced.  I get an error
message "Example3 not found."

\documentclass{article}
\usepackage{sagetex}
\begin{document}
\begin{sagesilent}
mathematica('myplot = Plot[Sin[x], {x, 0, 2 Pi}]')
mathematica('Export["%s/example3.eps", myplot]'%os.getcwd())
\end{sagesilent}
\includegraphics{example3}
\end{document}

-- 
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

Reply via email to