Merge pull request #2504 from nilshg/master
Add LinearAlgebra to make example with `norm` work
This commit is contained in:
commit
d9fcfbe80e
@ -271,6 +271,7 @@ Draw a 3D surface plot.
|
|||||||
|
|
||||||
# Example
|
# Example
|
||||||
```julia-repl
|
```julia-repl
|
||||||
|
julia> using LinearAlgebra
|
||||||
julia> x = y = range(-3, 3, length = 100)
|
julia> x = y = range(-3, 3, length = 100)
|
||||||
julia> surface(x, y, (x, y) -> sinc(norm([x, y])))
|
julia> surface(x, y, (x, y) -> sinc(norm([x, y])))
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user