示例 2 步,在同一个会话中按顺序运行。每一步都在引擎上执行过,下面的输出就是它实际产生的。
div[x_, y_] = Div[{Cos[x + y ^ 3], Sin[y + x ^ 3]}, {x, y}];无输出——这一步是在为下一步做准备。
StreamDensityPlot[{{Cos[x + y ^ 3], Sin[y + x ^ 3]}, div[x, y]}, {x, -2, 2}, {y, 0, 2}, StreamPoints -> Fine, ColorFunction -> "MintColors", MaxRecursion -> 2, StreamStyle -> Black, StreamColorFunction -> None]-Graphics-全部操作示例 · 函数参考 · 从 MCP 客户端使用