Qurak

Plot the density and mesh and overlay streamlines

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

ステップ 1
f = Sin[x + y ^ 2];
gradient = Grad[f, {x, y}];

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

ステップ 2
StreamDensityPlot[{gradient, f}, {x, -2, 2}, {y, -2, 2}, Mesh -> 5, ColorFunction -> "BeachColors", MaxRecursion -> 1]
出力
-Graphics-

使用する関数

関連レシピ

すべてのレシピ · 関数リファレンス · MCPクライアントから使う