- install Julia as explained for example here
- clone this repository
- change into the folder Plotting2
cd Plotting2
- run from bash
julia --project
Run from the julia prompt:
using Pkg
Pkg.instantiate()
include("src/plot.jl")
To reduce the startup time it is possible to create a system image. This can be done using the following steps
cd Plotting2
julia --project
On the Julia prompt now execute
using AutoSysimages
install()
exit()
Launch asysimg:
./bin/run_julia
On the asysimg prompt now execute:
@time include("src/plot.jl")
and close the plotting window.
Now quit Julia with:
exit()
You get the question: "... Do you want to build one?"
Answer with "Yes" by just pressing <ENTER>.
This will take a few minutes.
If you now start Julia again with the command:
asysimg --project
and execute on the Julia prompt:
@time include("src/plot.jl")
it should go much faster, but it does not show the plot window...
Tested on Ubuntu.