>
> Is it possible to use a plot of some object as a subfigure in given 
> position? 
>
> Suppose for example that g is a graph. What if I want to plot g, an arrow, 
> and g with some edge deleted? There is graphic_array, but it is not quite 
> flexible. I would like to have something like 
>

If you are plotting graphs, you already have a way to do that.

    sage: g = graphs.RandomGNP(10,.3)
    sage: g.show(save_pos=True)
    sage: g.delete_edges(g.edge_boundary([0,1,2,3]))
    sage: g.show()

If you have another graph h defined on the same set of vertices, you can 
also do:

    sage: h.set_pos(g.get_pos())

To use the same layout for both.

Nathann
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to