How to plot min,max and mean values from a data set?
2 ビュー (過去 30 日間)
古いコメントを表示
I have a data set of min,max and mean values at the same time instant.
For eg: min=1,max=2, mean =1.5 @ 00:00:00
min=2,max=3,mean=2.5 @ 01:00:00
and so on..(more than 8,000 dataset)
I want to create a line plot using all three (min,max,mean) values in one line and not 3 different line plots.
Any one can help?
4 件のコメント
Azzi Abdelmalek
2013 年 1 月 6 日
編集済み: Azzi Abdelmalek
2013 年 1 月 6 日
After reading them from a text file, how your values are stored? Is it a matrix 8000x3?
回答 (1 件)
Azzi Abdelmalek
2013 年 1 月 6 日
a=rand(10,3) % your data
x=a';
y=x(:)
plot(y)
6 件のコメント
Azzi Abdelmalek
2013 年 1 月 6 日
編集済み: Azzi Abdelmalek
2013 年 1 月 6 日
That's what my above comment is doing. V1 v2 and v3 are column vector representing min max and mean
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!