Hi:
import sympy
x=sympy.symbols('x',real=True)
a=sympy.plot(sympy.hyper([1+sympy.I,2-sympy.I],[sympy.I],x),show=False)
b=sympy.plot(sympy.hyper([3-2*sympy.I,1],[-sympy.I],x),show=False)
now I want to save a and b in a single pdf file. matplotlib has
http://matplotlib.org/faq/howto_faq.html#save-multiple-plots-to-one-pdf-file
to do such job. But how to do that in sympy.plot? I sympy.plot can not do
that, is there a way to convert sympy.plot into matplotlib object?
I try to use
a.extend(b)
a.save('kk.pdf')
but it is not working, I just get a one-page pdf.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/25324ca1-eb91-41e5-aedf-24136a827c09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.