I am a Junior in high school who has volunteered to make a program for NASA, in a competition called HUNCH. I will try to spare the details, because I feel that a proper description would be a lengthy one. But put simply, I am making a simulation that takes variables (etc. mass, initial velocity), to predict if a Lunar Supply Pod would survive a direct impact to the surface of the moon. What I want to do, is put a graph into the main Panda3D display, to illustrate the trajectory of the object towards the moon.
So here is the problem: Currently, I have my program set up to take inputs, and then trace the route taken by the pod-on the way to the surface, using Matplotlib. Unfortunately, it seems that there is no way to put the graph into the same window as the one that displays the simulation. It is difficult to describe, so I made a picture displaying the ideal end result. So this is my question: how can you display a graph in the main Panda3d window?