-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from BeastyBlacksmith/bbs/adapt-endpoints
Use adaptive_grid on endpoints
- Loading branch information
Showing
4 changed files
with
59 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.jl.cov | ||
*.jl.*.cov | ||
*.jl.mem | ||
Manifest.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name = "PlotUtils" | ||
uuid = "995b91a9-d308-5afd-9ec6-746e21dbc043" | ||
version = "0.6.0" | ||
|
||
[deps] | ||
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581" | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
Reexport = "189a3867-3050-52da-a836-e630ba90ab69" | ||
|
||
[compat] | ||
julia = "≥ 0.7.0" | ||
|
||
[extras] | ||
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test", "Plots"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This is not run by runtests.jl. Only intended to be checked manually. | ||
using Plots | ||
const test_funcs = [ | ||
(x -> 2, 0, 1), | ||
(x-> x, -1, 1), | ||
(x-> 5x, -1, 1), | ||
(x-> 1/x, 0, 1), | ||
(x-> 1/x, -1, 1), | ||
(x->tan(x), 0, 4), | ||
(x-> -1/x, 0, 1), | ||
(x-> 1/abs(x),-1,1), | ||
(x-> 1e6x, -1, 1), | ||
(x-> 1e50x, -1, 1), | ||
(x-> log(1+sin(cos(x))), -6, 6), | ||
(x-> sin(x^3)+cos(x^3), 0, 6.28), | ||
(x-> sin(x), -5, 200), | ||
(x-> sin(1/x), -2, 2), | ||
(x-> sin(x^4), -4, 4), | ||
(x-> sin(300x), -4, 4), | ||
(x-> 1 + x^2 + 0.0125log(abs(1-3(x-1))), -2, 2), | ||
(x-> sin(exp(x)), -6, 6), | ||
(x-> 1/sin(x), -10, 10), | ||
(x-> sin(x)/x, -6, 6), | ||
(x-> tan(x^3-x+1) + 1/(x+3exp(x)), -2, 2), | ||
] | ||
## | ||
plots = [plot(func...) for func in test_funcs] | ||
pitchfork = plot(x->sqrt(x),0,10) | ||
plot!(pitchfork, x->-sqrt(x),0,10) | ||
plot!(pitchfork, x->0,-10,0) | ||
plot!(pitchfork, x->0,0,10, linestyle=:dash) | ||
push!(plots, pitchfork) | ||
display.(plots) |
53bc5c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator
register
53bc5c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/4170
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via: