Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Apr 12, 2024
1 parent b2b6c9e commit f1d1a0f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/multi-channel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ using ControlPlots
T = 0:0.1:2pi
X = sin.(T)
Y = cos.(T)
p = plotx(T, X, Y; ylabels=["sin","cos"], fig="2-chan");
plotx(T, X, Y; ylabels=["sin","cos"], fig="2-chan")
2 changes: 1 addition & 1 deletion examples/multi-channel_shifted.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ using ControlPlots
T = 2pi:0.1:4pi
X = sin.(T)
Y = cos.(T)
p = plotx(T, X, Y; ylabels=["sin","cos"], fig="2-chan");
plotx(T, X, Y; ylabels=["sin","cos"], fig="2-chan")
6 changes: 6 additions & 0 deletions examples/multi-channel_ysize.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
using ControlPlots

T = 0:0.1:2pi
X = sin.(T)
Y = cos.(T)
plotx(T, X, Y; ylabels=["sin","cos"], fig="2-chan", ysize=8)
2 changes: 1 addition & 1 deletion examples/plotxy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ using ControlPlots
T = 0:0.1:2pi+0.1
X = sin.(T)
Y = cos.(T)
p = plotxy(X, Y, fig="xy", xlabel="X", ylabel="Y")
plotxy(X, Y, fig="xy", xlabel="X", ylabel="Y")
2 changes: 1 addition & 1 deletion examples/shifted.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ using ControlPlots

X = 2pi:0.1:4pi
Y = sin.(X)
p = plot(X, Y)
plot(X, Y)
2 changes: 1 addition & 1 deletion examples/simple.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ using ControlPlots

X = 0:0.1:2pi
Y = sin.(X)
p = plot(X, Y)
plot(X, Y)

0 comments on commit f1d1a0f

Please sign in to comment.