8000 GitHub - jonarriza96/matplotlib-cpp: Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
[go: up one dir, main page]

Skip to content

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib

Notifications You must be signed in to change notification settings

jonarriza96/matplotlib-cpp

 
 

Folders and files

8000 NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MATPLOTLIBCPP - FORKED BY ARRI

This is a fork of the original matplotlib-cpp. Its characterized for being:

  • minimal: Just the necessary files.
  • library: Install it as a library for usage in other projects.
  • extended 3D rendering: Copied from this video

Installation

Build and install the library with install.sh as follows:

source install_cpp.sh

Usage

If you have successfully built the project, you are ready to start using the installed library. By default matplotlibcpp will be installed as a shared library in /path/to/matplotlibcpp/install/, and thereby, it can easily be linked to other projects using CMakeLists.txt as follows:

set(CMAKE_PREFIX_PATH ${CMAKE_SOURCE_DIR}/../install/lib/cmake)

find_package(matplotlibcpp_lib REQUIRED)

add_executable(my_excutable my_executable.cpp)
target_link_libraries(my_executable matplotlibcpp_lib)

For exemplary files that showcase how to use the library can be found in the examples folder. You can run an example by running:

cd examples
bash run_examples.sh

About

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib

Resources

Stars

Watchers

For 3B75 ks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.1%
  • CMake 2.3%
  • Shell 0.6%
0