ufechner7 / Plotting2

Demo for plotting with Bokeh.jl

Repository from Github https://github.comufechner7/Plotting2Repository from Github https://github.comufechner7/Plotting2

Plotting with Bokeh

Installation

  1. install Julia as explained for example here
  2. clone this repository
  3. change into the folder Plotting2
cd Plotting2
  1. run from bash
julia --project

Run from the julia prompt:

using Pkg
Pkg.instantiate()

Executing the example

include("src/plot.jl")

Creating a system image

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.

About

Demo for plotting with Bokeh.jl

License:MIT License


Languages

Language:Julia 100.0%