Created
October 2, 2020 10:07
-
-
Save fonsp/99cae90cdcd69afe864cbbb6096c4876 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
### A Pluto.jl notebook ### | |
# v0.11.14 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ a2f60fe4-0495-11eb-27f6-ff7a5231c073 | |
begin | |
import Pkg | |
Pkg.activate(mktempdir()) | |
Pkg.add([ | |
Pkg.PackageSpec(name="GR", version=v"0.52.0"), | |
Pkg.PackageSpec(name="Plots", version=v"1.6.8"), | |
]) | |
using Plots | |
end | |
# ╔═╡ b00a4b1e-0495-11eb-3f4c-595d8b3a8dbc | |
function myplot() | |
bar(0:10, 0:10) | |
end | |
# ╔═╡ c9829b28-0495-11eb-03e1-454d150db745 | |
myplot() | |
# ╔═╡ d1802e26-0495-11eb-2041-d19e95b58971 | |
let | |
p = myplot() | |
plot!(p, xscale=:log) | |
p | |
end | |
# ╔═╡ e7a16ea4-0495-11eb-0ad3-5b3837cde94b | |
myplot() | |
# ╔═╡ Cell order: | |
# ╠═a2f60fe4-0495-11eb-27f6-ff7a5231c073 | |
# ╠═b00a4b1e-0495-11eb-3f4c-595d8b3a8dbc | |
# ╠═c9829b28-0495-11eb-03e1-454d150db745 | |
# ╠═d1802e26-0495-11eb-2041-d19e95b58971 | |
# ╠═e7a16ea4-0495-11eb-0ad3-5b3837cde94b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment