Home

Compose

Compose is a declarative vector graphics system written in Julia. It's designed to simplify the creation of complex graphics and serves as the basis of the Gadfly data visualization package.

Package features

Installation

The latest release of Compose can be installed from the Julia REPL prompt with

julia> Pkg.add("Compose")

This installs the package and any missing dependencies. From there, the simplest of graphics can be rendered to your default internet browser with

julia> using Compose
julia> compose(context(), circle(), fill("gold"))

Now that you have it installed, check out the Tutorial and the Forms gallery.

Influences

Compose is intended as a futuristic version of the R library grid, and so takes a few ideas from grid. The Compose canvas is roughly equivalent to a viewport in grid, for example. Compose was also inspired by the admirable Haskell library Diagrams.