关于多函数绘图问题(其实就是磁滞回线……)
mathematica吧
全部回复
仅看楼主
level 1
幽幽紫1700 楼主
RT,怎么在ContourPlot里限定各个函数的区域……二楼放码和图
2018年05月02日 07点05分 1
level 1
幽幽紫1700 楼主
theta2 = Pi/6
t = Tan[theta2]^(1/3)
h = (1 - t^2 + t^4)^0.5/(1 + t^2)
ContourPlot[{Sin[2 (ArcCos[y] - theta2)]/2 + x*Sin[ArcCos[y]] == 0,
Sin[2 (ArcCos[-y] - theta2)]/2 - x*Sin[ArcCos[-y]] == 0, x == -h,
x == h}, {x, -1.2, 1.2}, {y, -1, 1},
ContourStyle -> {Blue, Blue, Blue, Blue}, ImageSize -> {600, 500},
Axes -> True, Frame -> False, Ticks -> None]
这样生成的图如下:
想要的效果图见3楼
2018年05月02日 07点05分 2
level 1
幽幽紫1700 楼主
这是想要的效果图,dalao们求助!!
2018年05月02日 07点05分 3
吧务
level 15
一时间只能想到画4个ContourPlot然后分别设定RegionFunction的方法……但是,你这个方程,是不是应该有相应的参数方程?如果有的话,用那个可能还简单一点。
2018年05月05日 04点05分 4
或者如果有相应的微分方程的话也是比较容易的。
2018年05月05日 04点05分
1