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