Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Real-time data plotting/graph creation from stream in Unity

I have some Matlab data (x and y coordinates, ie. 2d data) which I would like to stream from Matlab on one computer to Unity on another pc. I'd like Unity to create and visualize a graph of this data 'real-time', eventually for visualization in the HoloLens. Im quite new to Unity and C# but Im wondering if anyone can give me some tips on how to read data from the stream and plot this in realtime. Ive read about the linerenderer and GI options, however I cant find a tutorial on updating the graph real-time with new incoming data from a network stream. In Matlab I created a tcpipserver to stream a dataset and in Visual Studio Ive got a client. Im stuck at creating a clienthandler and visualizing the data (in real-time.)
-What data format would be most convenient (string, array, matrix....)?
-How to visualize x,y-data points from Matlab in C# as a graph / plot? (scaling?)
-How to update the graph real-time, moving the graph to the left replacing old datapoints with new incoming datapoints?

Thanks in advance

Sign In or Register to comment.