Skip to content

Commit

Permalink
Next try
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed May 6, 2024
1 parent f690ea6 commit 2f88e29
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ControlPlots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ function plot2d_(pos, reltime; zoom=true, front=false, segments=6, fig="", dz_zo
plt.ylabel("z [m]", fontsize=14)
plt.grid(true)
plt.grid(which="major", color="#DDDDDD")
display(plt.gcf())
else
lines[1].set_xdata(x)
lines[1].set_ydata(z)
Expand Down Expand Up @@ -248,9 +247,9 @@ function plot2d_(pos, reltime; zoom=true, front=false, segments=6, fig="", dz_zo
plt.xlim(0, x_max+5)
plt.ylim(0, z_max+5)
end
plt.gcf().canvas.draw()
end
sleep(0.01)
plt.pause(0.01)
plt.show(block=false)
lines, sc, txt
end

Expand Down

0 comments on commit 2f88e29

Please sign in to comment.