-
This repository aims to Matplot++ for Julialang users, where
- Matplot++: A C++ Graphics Library for Data Visualization
- Julia: A fresh approach to technical computing
-
Our shared library that wraps C++ api is generated by MatplotWrapBuilder.jl
-
It is tested on my macOS/Ubuntu(18.04) with Julia v1.5.2
- install
gnuplot
via e.g.brew install ...
orapt-get install ...
etc..- See this instruction to learn more.
$ git clone https://github.com/terasakisatoshi/MatplotWrap.jl
$ cd MatplotWrap
$ julia --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()'
- Our shared library
libmplxx
is downloaded automatically using Artifact system.
See examples directory
-
Linux users should update your gcc >= 8
- See this instruction
-
Run the following command:
$ make -C ./deps
- Modify
libmplxx
variable inside ofsrc/MatplotWrap.jl
.
# Use this variable
const libmplxx = joinpath(@__DIR__, "..", "deps", "build", "lib", "libmplxx.$(dlext)")