Julia-band

using CairoMakie

f = Figure()

Axis(f[1, 1])

xs = 1:0.25:10

ys_low = -0.25 .* cos.(xs) .- 0.25

ys_high = 0.25 .* sin.(xs) .+ 0.25

band!(xs, ys_low, ys_high,color= :Orange)

band!(xs, ys_low .- 1, ys_high .-1, color = :green)

f


你可能感兴趣的:(Julia-band)