How to add values at blue dots in graphs?
2 ビュー (過去 30 日間)
古いコメントを表示
回答 (1 件)
Sulaymon Eshkabilov
2020 年 11 月 27 日
You mean sum up the plotted blue 'square' marker data points?
If so and you have only this plot as a data source, then you can use:
[x, y] = ginput(9); % hover your cursor carefully over the data points and click one after another for 9 times.
Sum_y = sum(y); % sum of y data points
Sum_x = sum(x); % sum of x data points
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!