本文整理汇总了Python中sympy.Plot.wait_for_calculations方法的典型用法代码示例。如果您正苦于以下问题:Python Plot.wait_for_calculations方法的具体用法?Python Plot.wait_for_calculations怎么用?Python Plot.wait_for_calculations使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sympy.Plot
的用法示例。
在下文中一共展示了Plot.wait_for_calculations方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: _test_plot_log
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def _test_plot_log(self):
from sympy import Plot
p=Plot(log(x), [x,0,6.282,4], 'mode=polar', visible=False)
p.wait_for_calculations()
示例2: test_plot_3d_spherical
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def test_plot_3d_spherical(self):
from sympy import Plot
p=Plot(1, [x,0,6.282,4], [y,0,3.141,4], 'mode=spherical;style=wireframe', visible=False)
p.wait_for_calculations()
示例3: test_plot_3d_parametric
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def test_plot_3d_parametric(self):
from sympy import Plot
p=Plot(sin(x), cos(x), x/5.0, [x, 0, 6.282, 4], visible=False)
p.wait_for_calculations()
示例4: test_plot_2d_polar
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def test_plot_2d_polar(self):
from sympy import Plot
p=Plot(1/x, [x,-1,1,4], 'mode=polar', visible=False)
p.wait_for_calculations()
示例5: test_plot_3d_cylinder
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def test_plot_3d_cylinder(self):
from sympy import Plot
p=Plot(1/y, [x,0,6.282,4], [y,-1,1,4], 'mode=polar;style=solid', visible=False)
p.wait_for_calculations()
示例6: test_plot_3d_discontinuous
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def test_plot_3d_discontinuous(self):
from sympy import Plot
p=Plot(1/x, [x, -3, 3, 6], [y, -1, 1, 1], visible=False)
p.wait_for_calculations()
示例7: test_plot_3d
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def test_plot_3d(self):
from sympy import Plot
p=Plot(x*y, [x, -5, 5, 5], [y, -5, 5, 5], visible=False)
p.wait_for_calculations()
示例8: test_plot_2d_discontinuous
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def test_plot_2d_discontinuous():
from sympy import Plot
p=Plot(1/x, [x, -1, 1, 2], visible=False)
p.wait_for_calculations()
示例9: test_plot_2d
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def test_plot_2d():
from sympy import Plot
p=Plot(x, [x, -5, 5, 4], visible=False)
p.wait_for_calculations()
示例10: test_plot_integral
# 需要导入模块: from sympy import Plot [as 别名]
# 或者: from sympy.Plot import wait_for_calculations [as 别名]
def test_plot_integral():
# Make sure it doesn't treat x as an independent variable
from sympy import Plot, Integral
p = Plot(Integral(z*x, (x, 1, z), (z, 1, y)), visible=False)
p.wait_for_calculations()