https://github.com/ufechner7/plotting2
Demo for plotting with Bokeh.jl
https://github.com/ufechner7/plotting2
Last synced: 3 months ago
JSON representation
Demo for plotting with Bokeh.jl
- Host: GitHub
- URL: https://github.com/ufechner7/plotting2
- Owner: ufechner7
- License: mit
- Created: 2022-10-01T11:52:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T00:26:41.000Z (over 2 years ago)
- Last Synced: 2025-01-17T13:16:05.325Z (5 months ago)
- Language: Julia
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Plotting with Bokeh
## Installation
1. install Julia as explained for example [here](https://ufechner7.github.io/2022/08/18/installing-julia.html)
2. clone this repository
3. change into the folder Plotting2
```
cd Plotting2
```
4. run from bash
```bash
julia --project
```
Run from the julia prompt:
```julia
using Pkg
Pkg.instantiate()
```
## Executing the example
```julia
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
```bash
cd Plotting2
julia --project
```
On the Julia prompt now execute
```julia
using AutoSysimages
install()
exit()
```
Launch asysimg:
```
./bin/run_julia
```
On the asysimg prompt now execute:
```julia
@time include("src/plot.jl")
```
and close the plotting window.Now quit Julia with:
```julia
exit()
```
You get the question: "... Do you want to build one?"
Answer with "Yes" by just pressing \.This will take a few minutes.
If you now start Julia again with the command:
```bash
asysimg --project
```
and execute on the Julia prompt:
```julia
@time include("src/plot.jl")
```
it should go much faster, but it does not show the plot window...Tested on Ubuntu.