How to add values at blue dots in graphs?

조회 수: 2 (최근 30일)
Laur Haxhiu
Laur Haxhiu 2020년 11월 27일
댓글: Laur Haxhiu 2020년 11월 27일

답변 (1개)

Sulaymon Eshkabilov
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

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by