Making a 'progressive' plot from a scattered matrix.
Show older comments
Hello, since i dont really know how to ask this question ill ust try to explain it to the best of my abillity.
So i want to plot a graph using a large matrix. This picture added is the plot i made using the data provided. Only thing now is that this data is very scattered. It is supposed to be CO2 emmisions/given time unit. i plotted it against the disctance which the vehicle traveled. I would like to make a line that makes it so that, in stead of taking the individual points, it makes a line that goes from zero to its total emmision. Therefore i would need to add each row of the matrix to the previous one so i get a gradually increasing value. Any help on how i can get this done?
Thanks in advance, from a learning student.

Accepted Answer
More Answers (0)
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!