Navigation
Box
A simple rectangle poly that is block. 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: August 04, 2022. Website built with
Franklin.jl
and the
Julia programming language
.
These docs were autogenerated using Makie: v0.17.13, GLMakie: v0.6.13, CairoMakie: v0.8.13, WGLMakie: v0.6.13