move areaplot doc from shorthands to recipes
This commit is contained in:
parent
8dfca61769
commit
ddaa69bce2
@ -1184,7 +1184,16 @@ end
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
"""
|
||||||
|
areaplot([x,] y)
|
||||||
|
areaplot!([x,] y)
|
||||||
|
|
||||||
|
Draw a stacked area plot of the matrix y.
|
||||||
|
# Examples
|
||||||
|
```julia-repl
|
||||||
|
julia> areaplot(1:3, [1 2 3; 7 8 9; 4 5 6], seriescolor = [:red :green :blue], fillalpha = [0.2 0.3 0.4])
|
||||||
|
```
|
||||||
|
"""
|
||||||
@userplot AreaPlot
|
@userplot AreaPlot
|
||||||
|
|
||||||
@recipe function f(a::AreaPlot)
|
@recipe function f(a::AreaPlot)
|
||||||
|
|||||||
@ -379,18 +379,6 @@ julia> curves([1,2,3,4],[1,1,2,4])
|
|||||||
"""
|
"""
|
||||||
@shorthands curves
|
@shorthands curves
|
||||||
|
|
||||||
"""
|
|
||||||
areaplot([x,] y)
|
|
||||||
areaplot!([x,] y)
|
|
||||||
|
|
||||||
Draw a stacked area plot of the matrix y.
|
|
||||||
# Examples
|
|
||||||
```julia-repl
|
|
||||||
julia> areaplot(1:3, [1 2 3; 7 8 9; 4 5 6], seriescolor = [:red :green :blue], fillalpha = [0.2 0.3 0.4])
|
|
||||||
```
|
|
||||||
"""
|
|
||||||
@shorthands areaplot
|
|
||||||
|
|
||||||
"Plot a pie diagram"
|
"Plot a pie diagram"
|
||||||
pie(args...; kw...) = plot(args...; kw..., seriestype = :pie, aspect_ratio = :equal, grid=false, xticks=nothing, yticks=nothing)
|
pie(args...; kw...) = plot(args...; kw..., seriestype = :pie, aspect_ratio = :equal, grid=false, xticks=nothing, yticks=nothing)
|
||||||
pie!(args...; kw...) = plot!(args...; kw..., seriestype = :pie, aspect_ratio = :equal, grid=false, xticks=nothing, yticks=nothing)
|
pie!(args...; kw...) = plot!(args...; kw..., seriestype = :pie, aspect_ratio = :equal, grid=false, xticks=nothing, yticks=nothing)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user