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