From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Path of an object

Solved!
Go to solution

Hi everyone, I have a quesiton about showing a trajectory or more precisely a part of object's updated trajectory. In the following code I try to plot two different trajectories of the same object on the same graph; and one trajectory motion is always a step late to the other one. This is the primitive type of the trajectory model, because it only plots the past n-1 position.

 

But somehow my code doesn't work. Can anyone give a help?

0 Kudos
Message 1 of 3
(2,651 Views)
Solution
Accepted by topic author karryli

If I'm understanding your problem correctly, you just have the plot display wrong for your second plot.  Extend the Plot Legend to show the second plot.  Change the plot type to match that of the first plot.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,642 Views)

Thanks. I should be more careful.

0 Kudos
Message 3 of 3
(2,635 Views)