forked from GiovineItalia/Gadfly.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
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 GiovineItalia#1283 from bjarthur/bja/docs
get docs to build again
- Loading branch information
Showing
10 changed files
with
31 additions
and
31 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
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,13 +1,15 @@ | ||
[deps] | ||
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" | ||
Cairo = "159f3aea-2a34-519c-b102-8c37f9878175" | ||
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581" | ||
Compose = "a81c6b42-2e10-5240-aca2-a61377ecd94b" | ||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
Gadfly = "c91e804a-d5a3-530f-b6f0-dfbca275c004" | ||
RDatasets = "ce6b1742-4840-55fa-b093-852dadbb1d8b" | ||
Showoff = "992d4aef-0814-514b-bc4d-f2e9a6c4116f" | ||
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" | ||
|
||
[compat] | ||
Documenter = "~0.20" | ||
CSV = "0.4, 0.5" | ||
Documenter = "~0.22" |
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,4 +1,4 @@ | ||
using Documenter, Gadfly, Compose | ||
using Documenter, Gadfly, Compose, Cairo | ||
|
||
makedocs( | ||
modules = [Gadfly], | ||
|
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
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
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
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,13 +1,12 @@ | ||
using DataFrames, Gadfly | ||
using StatsBase: winsor | ||
set_default_plot_size(6inch, 3inch) | ||
|
||
labs = [ "exp", "sqrt", "log", "winsor", "linear"] | ||
funcs = [ x->60*(1 .- exp.(-0.2*x)), x->sqrt.(x)*10, x->log.(x)*10, x->winsor(x, prop=0.15), x->x*0.6 ] | ||
labs = [ "exp", "sqrt", "log", "linear"] | ||
funcs = [ x->60*(1 .- exp.(-0.2*x)), x->sqrt.(x)*10, x->log.(x)*10, x->x*0.6 ] | ||
x = [1.0:30;] | ||
D = vcat([DataFrame(x=x, y=f(x), linev=l) for (f,l) in zip(funcs, labs)]...) | ||
|
||
p1 = plot(D, x=:x, y=:y, linestyle=:linev, Geom.line ) | ||
p2 = plot(D, x=:x, y=:y, linestyle=:linev, Geom.line, | ||
Scale.linestyle_discrete(levels=["exp", "log", "sqrt", "linear", "winsor"]) ) | ||
Scale.linestyle_discrete(levels=["exp", "log", "sqrt", "linear"]) ) | ||
hstack(p1,p2) |