wireframe

wireframe(x, y, z)
wireframe(positions)
wireframe(mesh)              

Draws a wireframe, either interpreted as a surface or as a mesh.

Attributes

Available attributes and their defaults for MakieCore.Combined{Makie.wireframe, T} where T are:

  color           :black
  colormap        :viridis
  colorrange      MakieCore.Automatic()
  cycle           [:color]
  depth_shift     -1.0f-5
  diffuse         Float32[0.4, 0.4, 0.4]
  inspectable     true
  linestyle       "nothing"
  linewidth       1.5
  nan_color       RGBA{Float32}(0.0f0,0.0f0,0.0f0,0.0f0)
  overdraw        false
  shininess       32.0f0
  space           :data
  specular        Float32[0.2, 0.2, 0.2]
  ssao            false
  transparency    false
  visible         true              

Examples

using GLMakie

x, y = collect(-8:0.5:8), collect(-8:0.5:8)
z = [sinc(√(X^2 + Y^2) / π) for X ∈ x, Y ∈ y]

wireframe(x, y, z, axis=(type=Axis3,), color=:black)