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