Ask Your Question

Revision history [back]

How can I add arrows at the end of sage plot axis?

Hello everybody!

I have my plot:

import matplotlib.pyplot as plt
plt.clf()
fig = plt.figure()
plot(f(x), (0, 2*pi)).matplotlib(figure = fig)
plt.savefig('')
plt.close()

I want to add arrows at the end of this graph (as on http://commons.wikimedia.org/wiki/File:Conic_x%5E2%2B2xy%2By%5E2%E2%88%928x%3D0.svg). But I can't do this. Help me please.

How can I add arrows at the end of sage plot axis?

Hello everybody!

I have my plot:

import matplotlib.pyplot as plt
plt.clf()
fig = plt.figure()
plot(f(x), (0, 2*pi)).matplotlib(figure = fig)
plt.savefig('')
plt.close()

I want to add arrows at the end of this graph (as on http://commons.wikimedia.org/wiki/File:Conic_x%5E2%2B2xy%2By%5E2%E2%88%928x%3D0.svg). this image). But I can't do this. Help me please.