网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

怎么在矢量场图里面加上流线(Mathematica)

时间:2024-10-12 02:47:48

1、矢量场{y, -x}图像如下:VectorPlot[{y, -x}, {x, -3, 3}, {y, -3, 3}, Axes -> False, Frame -> False]

怎么在矢量场图里面加上流线(Mathematica)

2、加上10条流线图,就可以看出这个矢量场的走势是一组同心圆:VectorPlot[{y, -x}, {x, -3, 3}, {y, -3, 3}, Axes -> False,Frame -> False, StreamPoints -> 10, StreamStyle -> Green]

怎么在矢量场图里面加上流线(Mathematica)

3、矢量场{y^2 + x, y^2 - x}的图像比较混乱,所以画上36条流线。

怎么在矢量场图里面加上流线(Mathematica)

4、{y^2 + x, x^2 + y}:VectorPlot[{y^2 + x, x^2 + y}, {x, -3, 3}, {y, -3, 3}, Axes -> False,Frame -> False, StreamPoints -> 36, StreamStyle -> Green]

怎么在矢量场图里面加上流线(Mathematica)

5、扩大画图范围:VectorPlot[{y^2 + x, x^2 + y}, {x, -10, 10}, {y, -10, 10},Axes -> False, Frame -> False, StreamPoints -> 36,StreamColorFunction -> Hue]

怎么在矢量场图里面加上流线(Mathematica)

6、彩色流线:VectorPlot[{y^2 + x, x^2 + y}, {x, -10, 10}, {y, -10, 10},Axes -> False, Frame -> False, StreamPoints -> 36,StreamColorFunction -> Hue]

怎么在矢量场图里面加上流线(Mathematica)
© 2026 阿力知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com