Plotting Graphs with Matplotlib and Unreal Engine Python
In this tutorial we will see how to use third party python modules in your Unreal Engine projects.
The module of choice is 'matplotlib': https://matplotlib.org/.
From the official site:
Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in Python scripts, the Python and IPython shell, the jupyter notebook, web application servers, and four graphical user interface toolkits.
So our objective will be plotting graphs into Unreal Engine textures asset, both in the editor (to pre-generate assets) and during gameplay (to dynamically update texture-graph data).
Creating the project
First step is obviously creating a new project. We will use the third person template.