The GR module for Julia
This module provides a Julia interface to GR, a framework for visualisation applications.
From the Julia REPL an up to date version can be installed with:
or in the Pkg REPL-mode:
The Julia package manager will download and install a pre-compiled run-time (for your hardware architecture), if the GR software is not already installed in the recommended locations.
In Julia simply type
using GR and begin calling functions
in the GR framework API.
Let's start with a simple example. We generate 10,000 random numbers and create a histogram. The histogram function automatically chooses an appropriate number of bins to cover the range of values in x and show the shape of the underlying distribution.
using GR histogram(randn(10000))
Using GR as backend for Plots.jl
Plots is a powerful wrapper around other Julia visualization
GR seems to be one of the favorite ones.
To get an impression how complex visualizations may become
easier with Plots, take a look at
Plots is great on its own, but the real power comes from the ecosystem surrounding it. You can find more information