Skip to content

Commit 6b7352d

Browse files
committed
Add fig parameter to README.md
1 parent d970c2f commit 6b7352d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ x0 = 2.0
254254
z0 = 0.0
255255
for t in 0:0.1:5
256256
global x0, z0
257-
plot2d([[1,0,0], [x0,0,z0]], t; segments=1)
257+
plot2d([[1,0,0], [x0,0,z0]], t; segments=1, fig="plot2d")
258258
x0 += 0.1; z0 += 0.1
259259
sleep(0.1)
260260
end
@@ -284,7 +284,7 @@ for t in 0:0.05:5
284284
]
285285

286286
# Plot the triangle
287-
plot2d(points, segments, t; zoom=false, xlim=(0, 5), ylim=(0, 3))
287+
plot2d(points, segments, t; zoom=false, xlim=(0, 5), ylim=(0, 3), fig="triangle")
288288
sleep(0.05)
289289
end
290290
```

0 commit comments

Comments
 (0)