Qurak

Add transparency to plots

工作流程 共 10 個步驟,在同一個工作階段中依序執行。每一步都在引擎上實際執行過,下方的輸出就是它產生的結果。

步驟 1
eq = x ^ 2
輸出
x^2
步驟 2
Plot[eq, {x, -2, 2}]
輸出
-Graphics-
步驟 3
eq2 = -x ^ 2
輸出
-x^2
步驟 4
eq = x ^ 4 + y ^ 4 - 5 x ^ 2 * y ^ 2
輸出
x^4 - 5*x^2*y^2 + y^4
步驟 5
Plot3D[eq, {x, -3, 3}, {y, -3, 3}]
輸出
-Graphics3D-
步驟 6
eq2 = -100 - x ^ 4 - y ^ 4 + 5 x ^ 2 * y ^ 2
輸出
-100 - x^4 + 5*x^2*y^2 - y^4
步驟 7
Graphics[Disk[]]
輸出
-Graphics-
步驟 8
Row[Table[
	Graphics[{Opacity[n], Disk[]}, ImageSize -> Scaled[.1]],
	{n, 0.1, 1, 0.3}]]
輸出
-Graphics--Graphics--Graphics--Graphics-
步驟 9
Row[Table[
	Graphics[{Red, Opacity[n], Disk[]}, ImageSize -> Scaled[.1]],
	{n, 0.1, 1, 0.3}]]
輸出
-Graphics--Graphics--Graphics--Graphics-
步驟 10
Manipulate[RegionPlot[
	{x - y ≥ t, x + y ≥ s}, {x, -3 Pi, 3 Pi}, {y, -3 Pi, 3 Pi},
	PlotPoints -> 30,
	PlotStyle -> {Directive[Red], Directive[Blue, Opacity[0.5]]}
	],
	Style["Solving the system of inequalities: x-y ≥ t and x +y ≥ s", Bold, 12],
	{{s, 0}, -20, 20}, {{t, 0}, -20, 20}
	]
輸出
Manipulate[RegionPlot[{x - y >= t, x + y >= s}, {x, -3*Pi, 3*Pi}, {y, -3*Pi, 3*Pi}, PlotPoints -> 30, PlotStyle -> {Directive[Red], Directive[Blue, Opacity[0.5]]}], Solving the system of inequalities: x-y ≥ t and x +y ≥ s, {{s, 0}, -20, 20}, {{t, 0}, -20, 20}]

使用到的函式

相關的操作範例

所有操作範例 · 函式參考 · 從 MCP 用戶端使用這個