Hello, I would like to plot a three-dimensional matrix as a volume at an arbitrary location in space with Makie.jl.
using GLMakie using AbstractPlotting x = LinRange(1, 200, 200) y = LinRange(1, 200, 200) z = LinRange(10, 40, 30) A = rand(200, 200, 30) volume(x, y ,z, A)
LoadError: DimensionMismatch("arrays could not be broadcast to a common size; got a dimension with lengths 200 and 30")
Unfortunately, even with a simple example, I get an error message that I can’t really explain. The volume should only be moved in z-direction. I hope someone can help me, thanks.