Wanted to create a plot where i can plot data one parameter with respect to other like **XY graph**.

I'm able to use **YT** graph where** y** with respect to time in realtime.

How to create **XY** graph to plot in **realtime**.

Is there any sample.

How to plot XY graph one respect to other in realtimeReturn to overview

Wanted to create a plot where i can plot data one parameter with respect to other like **XY graph**.

I'm able to use **YT** graph where** y** with respect to time in realtime.

How to create **XY** graph to plot in **realtime**.

Is there any sample.

it would work just like every other graph. you just set axis 1 to x and axis 2 to y(or flipped). You would then call rescale and replot.

And if you want to plot (x, y) against t, you should use QCPCurve instead of QCPGraph.

Well

I'm using this one which is not working

mLocalPlot->graph(0)->addData(xData,yData);