ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 31 May 2013 16:59:16 +0200How can I add arrows at the end of sage plot axis?https://ask.sagemath.org/question/10178/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 [this image](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.AndreWinFri, 31 May 2013 16:59:16 +0200https://ask.sagemath.org/question/10178/combine sage plot with matplotlibhttps://ask.sagemath.org/question/8273/combine-sage-plot-with-matplotlib/As some others I'm also searching for a convenient way for merging sage Graphics and figures from matplotlib.
Actually I don't understand why this is so difficult since Sage uses matplotlib internally. Nevertheless there seems to be no way for combining plots from both packages.
The best way would be to wrap a matplotlib plot into a Sage Graphics object.
I really love Sage's plot(...)+plot(...) syntax, but unfortunately there are some important plot types missing (e.g. errorbar plot). Of course one can do all plotting in matlotlib, but it would be more convenient to handle sage objects.
I saw in the sage documentation that one can get a matplotlib figure from a Graphics object, but didn't found a way to draw on it with matplotlib.
Does anyone know any way for combining plots from those packages?buergiSun, 14 Aug 2011 16:39:54 +0200https://ask.sagemath.org/question/8273/