Navigation
ablines
ablines(intercepts, slopes; attrs...)
Creates a line defined by
f(x) = slope * x + intercept
crossing a whole
Scene
with 2D projection at its current limits. You can pass one or multiple intercepts or slopes.
All style attributes are the same as for
LineSegments
.
using CairoMakie
ablines(0, 1)
ablines!([1, 2, 3], [1, 1.5, 2], color = [:red, :orange, :pink], linestyle=:dash, linewidth=2)
current_figure()
© 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