Skip to content

Commit db730cd

Browse files
committed
Improve example readability
1 parent bc557b7 commit db730cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/06-plotting/07-plot_on_geometries.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@
8181

8282
###############################################################################
8383
# Show points together with the mesh
84-
points.plot(mesh, cpos=cpos)
84+
points.plot(mesh, cpos=cpos, point_size=15, color="blue")
8585

8686
###############################################################################
8787
# Create line passing through the geometry's diagonal:
8888
line = Line([[0.03, 0.03, 0.05], [0.0, 0.06, 0.0]], n_points=50)
8989

9090
###############################################################################
9191
# Show line with the 3D mesh
92-
line.plot(mesh, cpos=cpos)
92+
line.plot(mesh, cpos=cpos, color="black")
9393

9494
###############################################################################
9595
# Create vertical plane passing through the mid point:
@@ -104,7 +104,7 @@
104104

105105
###############################################################################
106106
# Show plane with the 3D mesh
107-
plane.plot(mesh, cpos=cpos)
107+
plane.plot(mesh, cpos=cpos, color="red")
108108

109109
###############################################################################
110110
# Map displacement field to geometry objects

0 commit comments

Comments
 (0)