python - Sympy / Matplotlib faults upon second time trying to save multiple plot3d plots -
i have tried possible combinations of lines below, can't seem able save 2 sympy plots make using plot3d function. not using library correctly, have limited experience matplotlib.
import sympy sp sympy.plotting import plot3d x_1 = sp.symbol('x_1') x_2 = sp.symbol('x_1') eq1=x_1**2+x_2 eq2=x_2**2+x_1 = plot3d(eq1,(x_1,-3,3),(x_2,-3,3),show=false) a.save('filea.png') b = plot3d(eq2,(x_1,-3,3),(x_2,-3,3),show=false) b.save('fileb.png')
any appreciated.
Comments
Post a Comment