Navigation
Box
A simple rectangle poly that is layoutable. This can be useful to make boxes for facet plots or when a rectangular placeholder is needed.
using CairoMakie
using ColorSchemes
fig = Figure()
rects = fig[1:4, 1:6] = [
Box(fig, color = c)
for c in get.(Ref(ColorSchemes.rainbow), (0:23) ./ 23)]
fig
© Makie.jl. Last modified: October 16, 2021. Website built with
Franklin.jl
and the
Julia programming language
.
These docs were autogenerated using Makie: v0.15.3, GLMakie: v0.4.7, CairoMakie: v0.6.6, WGLMakie: v0.4.7