Qurak

Use simulated lighting for the background density

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

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

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

ステップ 2
StreamDensityPlot[{{Cos[x + y ^ 3], Sin[y + x ^ 3]}, Log[Abs[rot[x, y]] + 1]}, {x, -2, 2}, {y, -2, 2}, StreamPoints -> Fine, ColorFunction -> "RedBlueTones", MaxRecursion -> 4, LightingAngle -> Automatic, StreamStyle -> Black, StreamColorFunction -> None]
出力
-Graphics-

使用する関数

関連レシピ

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