Plotting Realtime Graph in visual studio c++
<p>I am a new to windows programming. I am developing a application to process the measurement data from a laser sensor. I have got the data from the sensor and did some calulations and I need to plot the data which are in the double arrays say afx[81] and afy[81].. I have been browsing since yesterday to plot the 2-D graph.I found out the options I have are,</p>

<ol>
<li>using a third party library like gnuplot.</li>
<li>using standard graphic library like PGL. <a href="http://www.codeproject.com/Articles/1546/Plot-Graphic-Library" rel="nofollow">http://www.codeproject.com/Articles/1546/Plot-Graphic-Library</a></li>
<li>using C# or visual basic to do the plot and using it from c++.</li>
</ol>

<p>My requirements are</p>

<ol>
<li>I need to do real time plotting.the max scanning frequency of the sensor is 50hz.</li>
<li>I want the application to run in all windows computers as a single application.</li>
</ol>

<p>Can someone provide me the best possible solution that I can approach.</p>
