On Sun, Mar 13, 2011 at 12:08 AM, pong <wypon...@gmail.com> wrote:

> A quick question. How to use sagetex to display a graph (edges and
> vertices) produced by sage without saving it first manually then
> \includegraphics.
>

Plotting graphs works by calling sageplot on the graph's plot:

\sageplot{graphs.PetersenGraph().plot()}

The example.tex included with sagetex has more elaborate examples.

Best wishes,
Stephen

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