【Mathematica】双周期函数的等高线图

2024-10-12 13:17:55

1、金字塔形:f[x_, y_] := -Abs[x + y] - Ab衡痕贤伎s[x - y]等高线图如下:ContourPlot[f[x, y]荑樊综鲶, {x, -10, 10}, {y, -10, 10}, Frame -> False,ColorFunction -> Hue, Contours -> 20, ImageSize -> 500]

【Mathematica】双周期函数的等高线图

3、f[g[x, 5], g[y, 3]],两个周期分别是5和3:

【Mathematica】双周期函数的等高线图

5、重定义函数:f[x_, y_] := Abs[x] + Abs[y]拓展为双周期:f[g[x, 5], g[y, 5]]

【Mathematica】双周期函数的等高线图

7、斜向排列:f[g[x, 4], g[x + y, 6]]

【Mathematica】双周期函数的等高线图【Mathematica】双周期函数的等高线图

11、斜向排列,看似发生了“扭曲”,实则仍是双曲线:f[g[x + y, 5], g[y, 6]]

【Mathematica】双周期函数的等高线图
猜你喜欢