Qurak

Show the divergence as a background density

2 ステップを1つのセッション内で順に実行します。各ステップはエンジンで実行済みで、以下の出力は実際に生成されたものです。

ステップ 1
div[x_, y_] = Div[{Cos[x + y ^ 3], Sin[y + x ^ 3]}, {x, y}];

出力なし - このステップは次のステップの準備をします。

ステップ 2
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クライアントから使う