How to do line plot with time sequence?
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have altitude, density and time data. How can I do line plotting with time sequence, i.e. time, altitude and density in x-, y- and z- axis, respectively (same as one plot attached but without arrows). I don't need contour plot. The density data is different at different times ( I mean sometime less than earlier values). I am using Matlab2015a.
Thank you so much.
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/311102/image.png)
Thank you.
3 件のコメント
採用された回答
Image Analyst
2020 年 6 月 6 日
See if waterfall() meets your needs. Or else plot x vs. y for every y vector, moving it along a little bit each time along the x direction b y adding a tiny bit to the y signal.
4 件のコメント
Image Analyst
2020 年 6 月 7 日
So just get rows instead of columns or vice versa, or plot y vs x instead of x vs y. I think you can figure out the adaptations needed since you're a smart engineer. Let me know if you still can't, and what the rows and columns of the array represent and which (rows or columns) is supposed to go along each axis.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Distribution Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!