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