ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 14 Aug 2011 09:39:54 -0500combine sage plot with matplotlibhttp://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 09:39:54 -0500http://ask.sagemath.org/question/8273/