Qurak

Combine two or more graphics

إرشادات 16 خطوات تُشغَّل بالترتيب في جلسة واحدة. كل خطوة نُفِّذت على المحرك والمخرج أدناه هو ما أنتجته.

الخطوة 1
p1 = Plot[x Sin[x] - 1, {x, -2.5, 2.5}]
المخرجات
-Graphics-
الخطوة 2
p2 = Plot[Evaluate[D[x Sin[x] - 1, x]], {x, -2.5, 2.5}, PlotStyle -> Red]
المخرجات
-Graphics-
الخطوة 3
p3 = Plot[Sin[x], {x, -2.5, 2.5}, PlotStyle -> Magenta]
المخرجات
-Graphics-
الخطوة 4
p4 = Graphics[{Magenta, Polygon[{{0.4, 0}, {0, 0.5}, {-0.4, 0}}]}]
المخرجات
-Graphics-
الخطوة 5
Show[p1, p2, p3, p4]
المخرجات
-Graphics-
الخطوة 6
Show[p1, p2, p3, p4, PlotRange -> All]
المخرجات
-Graphics-
الخطوة 7
GraphicsRow[{p1, p2, p3, p4}]
المخرجات
-Graphics-
الخطوة 8
GraphicsGrid[{{p1, p2}, {p3, p4}}]
المخرجات
-Graphics-
الخطوة 9
GraphicsColumn[{p1, p2, p3, p4}]
المخرجات
-Graphics-
الخطوة 10
Graphics[{StandardGray, Thick, Line[{{1, 1}, {2, 1}}]}, Epilog -> {Magenta, PointSize[0.2], Point[{{1.5, 1}}]}]
المخرجات
-Graphics-
الخطوة 11
Graphics[{StandardGray, Thick, Line[{{1, 1}, {2, 1}}]}, Prolog -> {Magenta, PointSize[0.2], Point[{{1.5, 1}}]}]
المخرجات
-Graphics-
الخطوة 12
sp = Graphics3D[Sphere[{0, 0, 0}, 0.8], Boxed -> False]
المخرجات
-Graphics3D-
الخطوة 13
pp3 = ParametricPlot3D[{(2 + Cos[v])Cos[u], (2 + Cos[v])Sin[u], Sin[v]}, {u, 0, 2Pi}, {v, 0, 2Pi}, Axes -> None, Boxed -> False]
المخرجات
-Graphics3D-
الخطوة 14
Show[sp, pp3]
المخرجات
-Graphics3D-
الخطوة 15
watermark = Style["Done", 36, Bold, Opacity[.6]]
المخرجات
Done
الخطوة 16
SphericalPlot3D[ϕ, {θ, 0, Pi}, {ϕ, 0, 3Pi}, Boxed -> False, Axes -> None, Epilog -> Inset[watermark, Automatic, Automatic, Automatic, {1, 1}]]
المخرجات
-Graphics3D-

الدوال المستخدمة

وصفات ذات صلة

كل الوصفات · مرجع الدوال · استخدم هذا من عميل MCP