LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scatter plot

Hi,

I have acquired both x and y position data based on event-by-event mode. I would like to display the results online with a 2D scatter plot. When the scatter plot is projected to x and y directions, it should give the histograms of x and y postion measurements.

My question is how to make such a scatter plot in LabView? Since I am a beginner in using LabView, I wonder what SubVIs in LabView I need to use for this display task. Your helps are greatly appreciated. Thanks,

Yujin
0 Kudos
Message 1 of 5
(9,983 Views)
Yujin;

There is an example on how to create a scatter diagram in LabVIEW's help file. It is under "Advanced -> Picture Tools" and is titled "XY Scatter Plots".

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 2 of 5
(9,984 Views)
> There is an example on how to create a scatter diagram in LabVIEW's
> help file. It is under "Advanced -> Picture Tools" and is titled "XY
> Scatter Plots".
>


You can also just wire the data to the graph, then click on the plot
legend and under common plots choose the scatter plot.

The picture control version is reimplemented in diagram source code so
that you can add additional features like the color coding for multiple
values on a pixel. The XY graph will be somewhat faster than the
picture control and the scatter plot subVI, but both should work.

Greg McKaskle
0 Kudos
Message 3 of 5
(9,982 Views)
Hello, i am trying to plot the mouvements i do with my coursur. I have at any time the position of my cursor. Is it possible to plot this points and to connect this points on the graph, that i can see which way i was doing with the cursor?

Thanks
Lukas
Lukas
0 Kudos
Message 4 of 5
(9,923 Views)
Hello Lukas,

There is an example available here that demonstrates how to draw a circle on a picture control using the mouse cursor.

If you add a graph to this example, and make the picture control's background transparent, you will be able to draw circles on the graph display using the mouse cursor.

In the future, if you create a new post instead of replying to an existing thread you will have a wider exposure to all of the LabVIEW developers on the forum.

Scott Y
NI
0 Kudos
Message 5 of 5
(9,913 Views)