Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Aug 20, 2024
1 parent 1e5380d commit fabd83a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/dual_one_axis.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using ControlPlots

T = 0:0.05:2pi+0.1
POS_Z = sin.(T)
VEL_Z = 5*cos.(T)
plot(T, [POS_Z, VEL_Z];
xlabel="time [s]", ylabel="pos [m]", labels=["pos_x", "vel_y"])

0 comments on commit fabd83a

Please sign in to comment.