Backends
Makie is the frontend package that defines all plotting functions. It is reexported by every backend, so you don't have to specifically install or import it.
There are four backends which concretely implement all abstract rendering capabilities defined in Makie:
Package | Description |
---|---|
GLMakie.jl | GPU-powered, interactive 2D and 3D plotting in standalone GLFW.jl windows. |
CairoMakie.jl | Cairo.jl based, non-interactive 2D (and some 3D) backend for publication-quality vector graphics. |
WGLMakie.jl | WebGL-based interactive 2D and 3D plotting that runs within browsers. |
RPRMakie.jl | An experimental ray tracing backend. |
Activating Backends
You can activate any backend by using
the appropriate package and calling its activate!
function.
Example with WGLMakie:
using WGLMakie
WGLMakie.activate!()
Each backend's activate!
function optionally takes keyword arguments (referred to as screen_config...
) that control various aspects of the backend. For example, to activate the GLMakie backend and set it up to produce windows with a custom title and no anti-aliasing:
using GLMakie
GLMakie.activate!(title = "Custom title", fxaa = false)
The keyword arguments accepted by each backend are listed in the backend-specific documentation pages linked in the table above.
These docs were autogenerated using Makie: v0.20.10, GLMakie: v0.9.11, CairoMakie: v0.11.12, WGLMakie: v0.9.10