Duration curve in matlab
4 ビュー (過去 30 日間)
古いコメントを表示
Hi there
I would like to plot duration curves of discharge data with the y-axis as a "probability axis". This apparently simple job seems impossible for me to solve though.. I would like it to look like this: http://www.mekhlin.com/rasmus/varighedskurve.jpg (the dashed line is the duration curve).
The values are in mm/day which is also the unit I would like on the x-axis.
Thank you!
-Rasmus
0 件のコメント
回答 (1 件)
Ashish Uthama
2011 年 11 月 2 日
Rasmus, more clarification would help people not familiar with these curves to try and answer you. I understand the x-axis to span the range of the data (min(data) to max(data)), and at each point on this axis you want a probability of occurrence of that value to be plotted along the Y axis? (a histogram perhaps? http://www.mathworks.com/help/techdoc/ref/hist.html)
2 件のコメント
Ashish Uthama
2011 年 11 月 3 日
Rasmus, sorry, I am still puzzled. I cant make much sense of the linked plot. Hard to say which 'dashed line' you are referring to.
Could you say more on what you mean by a 'probability axis'? I assume you tried plot(sortedData,p) and that did not give what you want?
参考
カテゴリ
Help Center および File Exchange で Plot Customization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!