Making a 'progressive' plot from a scattered matrix.
이전 댓글 표시
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.

채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!