From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

updating xy graph with the last point different

I want to display a simulation of the path of a rolling ball as updating xy graph.
The actual last point of the plot should be different from the older points, I imagine e.g.a thick circle.
The coordinates of the points I hold in two arrays, so I need a xy graph,
when I used xy chart buffer to get un updating graph all points of the plot are displayed in the same way, stars, circles and so on.
I
0 Kudos
Message 1 of 6
(2,690 Views)
Hi,

Do you mean you want to display only one (or a known number) point at a time on the graph ?

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 6
(2,681 Views)
Hi Titou
I want to display the old points for examample as a grey line
and the last the updating point as a red circle
So imagine to get a wandering red thick point with a grey tail
0 Kudos
Message 3 of 6
(2,675 Views)
Ok, so the solution is coming from what you've just said. One plot for the old positions I assume you want to display a certain number of points... e.g. the last 10positions and one plot for the current ball position.

Tell me if this is ok...


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 4 of 6
(2,669 Views)
Hi Titou,

that's is it!!

Merci beaucoup

queese2
0 Kudos
Message 5 of 6
(2,659 Views)
De rien, c'est toujours un plaisir de donner un coup de main 😉

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 6 of 6
(2,652 Views)