Making a 'progressive' plot from a scattered matrix.
Mostra commenti meno recenti
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.

Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Scatter Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!