Skip to content

Commit d970c2f

Browse files
committed
Add fig parameter to plot2d.jl
1 parent af34b0c commit d970c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/plot2d.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ x0 = 2.0
55
z0 = 0.0
66
for t in 0:0.1:5
77
global x0, z0
8-
plot2d([[1,0,0], [x0,0,z0]], t; segments=1)
8+
plot2d([[1,0,0], [x0,0,z0]], t; segments=1, fig="2d plot")
99
x0 += 0.1; z0 += 0.1
1010
sleep(0.1)
1111
end

0 commit comments

Comments
 (0)