How can I find starting and ending points of a repetitive bar graph
1 回表示 (過去 30 日間)
古いコメントを表示
Here the bar graph has a min value of 0 and max value of 10 which is being repeated 3-4 times.
What can I do to get the values on the x-axis for every starting and ending point of the graph? (i.e. for every 0 to 10 repetition)
Kindly help me out!
0 件のコメント
回答 (1 件)
Image Analyst
2016 年 12 月 26 日
Use diff(). When there is no change in your data the result will be 0.
2 件のコメント
Image Analyst
2016 年 12 月 26 日
Please attach your x and y data and how you plotted that. You can get the y axis limits using ylim(). You can get your data values from the data directly and the max of all the data using the max() function.
参考
カテゴリ
Help Center および File Exchange で Discrete Data Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!