Ask Your Question

Revision history [back]

Could you please make your question more precise ? The origin is located at the intersection of the axes:

sage: graph + arrow2d((-0.4,-0.4),(-0.02,-0.02), color='red')

If you want to add a point at the origin, you can do:

sage: graph + point2d((0,0), size=50, color='black')

Could you please make your question more precise ? The origin is located at the intersection of the axes:

sage: graph + arrow2d((-0.4,-0.4),(-0.02,-0.02), color='red')

If you want to add a point at the origin, you can do:

sage: graph + point2d((0,0), size=50, color='black')

EDIT as shown as before, you can add graphics together, including the one produced by text:

sage: graph + text('o', (-1, -1))
Launched png viewer for Graphics object consisting of 2 graphics primitives

Of course, you can adapt:

sage: graph + text('0', (-0.1, -0.05), color='black')
Launched png viewer for Graphics object consisting of 2 graphics primitives