Skip to content

Commit 5934c4c

Browse files
committed
Added functions to generate and test example plots in ControlSystems.jl
1 parent 8324d06 commit 5934c4c

18 files changed

+79
-11
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ notifications:
1111
# uncomment the following lines to override the default test script
1212
#script:
1313
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
14-
# - julia -e 'Pkg.clone(pwd()); Pkg.build("ExamplePlots"); Pkg.test("ExamplePlots"; coverage=true)'
14+
# - julia -e 'Pkg.clone(pwd()); Pkg.build("ControlExamplePlots"); Pkg.test("ControlExamplePlots"; coverage=true)'

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The ExamplePlots.jl package is licensed under the MIT "Expat" License:
1+
The ControlExamplePlots.jl package is licensed under the MIT "Expat" License:
22

33
> Copyright (c) 2016: Mattias Fält.
44
>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# ExamplePlots
1+
# ControlExamplePlots

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ build_script:
2828
# Need to convert from shallow to complete for Pkg.clone to work
2929
- IF EXIST .git\shallow (git fetch --unshallow)
3030
- C:\projects\julia\bin\julia -e "versioninfo();
31-
Pkg.clone(pwd(), \"ExamplePlots\"); Pkg.build(\"ExamplePlots\")"
31+
Pkg.clone(pwd(), \"ControlExamplePlots\"); Pkg.build(\"ControlExamplePlots\")"
3232

3333
test_script:
34-
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"ExamplePlots\")"
34+
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"ControlExamplePlots\")"

src/ControlExamplePlots.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module ControlExamplePlots
2+
3+
Pkg.status("VisualRegressionTests") == nothing &&
4+
error("VisualRegressionTests needs to be installed, get it at https://github.com/tbreloff/VisualRegressionTests.jl")
5+
6+
using ControlSystems, Plots, VisualRegressionTests
7+
8+
include("genplots.jl")
9+
10+
end # module

src/ExamplePlots.jl

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/figures/bode.png

40.8 KB
Loading

src/figures/gangoffour.png

41.4 KB
Loading

src/figures/impulse.png

32 KB
Loading

src/figures/lsim.png

33.5 KB
Loading

0 commit comments

Comments
 (0)