Created
December 12, 2023 12:01
-
-
Save jkrumbiegel/32574b77ef29b164e4a746dfa0dc0475 to your computer and use it in GitHub Desktop.
Makie 3d transformed bands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CairoMakie | |
f = Figure() | |
ax = Axis3(f[1, 1]) | |
for i in 1:5 | |
data = abs.(cumsum(randn(50))) .+ 1 | |
b = band!(ax, 1:50, zero(data), data) | |
Makie.transform!(b, (:xz, -i)) | |
end | |
limits!(ax, 1, 50, -5, -1, 0, 30) | |
f | |
Author
jkrumbiegel
commented
Dec 12, 2023

Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment