Merge branch 'master' of https://github.com/sswatson/Plots.jl
This commit is contained in:
commit
660786b99c
@ -251,7 +251,8 @@ Draw contour lines of the `Surface` z.
|
|||||||
|
|
||||||
# Example
|
# Example
|
||||||
```julia-repl
|
```julia-repl
|
||||||
julia> contour(-20:20,-20:20,(x,y)->x^2+y^2)
|
julia> x = y = range(-20, 20, length = 100)
|
||||||
|
julia> contour(x, y, (x, y) -> x^2 + y^2)
|
||||||
```
|
```
|
||||||
"""
|
"""
|
||||||
@shorthands contour
|
@shorthands contour
|
||||||
@ -270,7 +271,8 @@ Draw a 3D surface plot.
|
|||||||
|
|
||||||
# Example
|
# Example
|
||||||
```julia-repl
|
```julia-repl
|
||||||
julia> surface(1:10,1:10,randn(10,10))
|
julia> x = y = range(-3, 3, length = 100)
|
||||||
|
julia> surface(x, y, (x, y) -> sinc(norm([x, y])))
|
||||||
```
|
```
|
||||||
"""
|
"""
|
||||||
@shorthands surface
|
@shorthands surface
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user