MATLAB Answers

Creating a profile plot for a trajectory

2 views (last 30 days)
Nao on 22 Mar 2021
Answered: Pavan Guntha on 26 Mar 2021
Is there a tool that helps with creating a profile or a plot for a trajectory? What I am trying to do, is visualising a speciific vector quantity as a sensor is going through a structure (or a structure is passing over the sensor). Ideally the quantity can be plotted against position (or time). Ultimatley the visualization tool is dynamic so that it can show what every point inside the structure correspond to in the plot.

Answers (1)

Pavan Guntha
Pavan Guntha on 26 Mar 2021
Dynamic plots can be created in MATLAB in three different ways. You can refer to the Animation Techniques documentation page for more details. You can also refer to the documentation of drawnow which helps to animate the streaming data and use the pause function to control the rate at which the plot is updated.

Community Treasure Hunt

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

Start Hunting!