I created a simple Graph Plotting Utility to visually measure/compare values over time. This is useful for seeing whats happening in Physics models or other rapidly changing states.
I am making this publicly available as it might save someone else a few hours creating there own graph plotter.
The utility allows multiple graphs to be created and displayed at once. Child graphs can be added to parents so that data can be overlaid.
A sample scene has been included to get you started.
To use the utility:
Just add the Plotter prefab to your scene.
Call the PlotCreate function for each new graph. eg: PlotManager.Instance.PlotCreate(“MouseX”, 0, 2000, Color.green, new Vector2(100,100));
Call the PlotAdd function to add data to be graphed. eg: PlotManager.Instance.PlotAdd(“MouseX”, Input.mousePosition.x);
The graphs are displayed in the OnGui of the plotter prefab.
I recently thought it would be nice to have the kind of graph plotting done on wolfram-alpha bundled into a nice little unity editor extension so i don’t have to fire up chrome every time i want to try and design a new curve for whatever purpose. This looks like it could be a really great start to getting me there. I look forward to trying it out. Thanks for making it available.
Is there anyway I can contact you? do you have an email address? I have some enquiries on the graph that I would like to ask you If you don’t mind can you give me your email address? This would mean a lot to me. Thank you so much!