Converting an animated time step 2D plot into 3D

I currently have a plot that models two variables against eachother as an xy graph.
This plot is updated at regular time step intervals by replacing the data.
How can I convert this into a 3D plot with variables x, y and t?
Thanks!

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Release

R2021a

Asked:

on 19 Oct 2021

Community Treasure Hunt

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

Start Hunting!