Click here to Skip to main content
15,868,141 members
Articles / Programming Languages / C++17

How to Create High Performance (and Publication Quality) 2D Graphs in C++ using Morphologica

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
14 Mar 2023Apache8 min read 12.3K   12  
Walks you through the steps needed to draw high quality 2D graphs in your C++ programs using the header-only library morphologica
This article shows you how to create a 2D graph using a library of code called morphologica. It describes how you first install dependencies on Linux or Mac, then how to download the morphologica library from github.com. It helps you to create a CMakeLists.txt file for directed compilation with cmake, how to write a single file program to draw the graph, how to compile the program and finally how to explore some of the additional features of morphologica's 2D graph class.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0


Written By
Software Developer (Senior)
United Kingdom United Kingdom
Research Associate in Computational Neuroscience at The University of Sheffield. I build developmental biology simulations in C++. I use high performance OpenGL visualisation to help.

Comments and Discussions