Some problem with inserting line in video

Hello everyone,
I'm using insertShape function to show the trajectory of object in video.
Circle markers mean the position of object. I insert lines to connect these circle markers.
However, there's some problem when drawing lines. There are some unexpected line such as the yellow one. I use same position to insert lines and markers.
I have no idea why the yellow line will connect to some other place that doesn't have any markers.
Does anyone know what's wrong with it? Thanks.

1 Comment

DGM
DGM on 12 Sep 2023
Edited: DGM on 12 Sep 2023
This is likely the same problem as this, but it's hard to be sure without being able to replicate the issue with the original data.

Sign in to comment.

Answers (0)

Asked:

on 9 Aug 2017

Edited:

DGM
on 12 Sep 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!