필터 지우기
필터 지우기

How to put labels to each points? And the labels are the value of each points?

조회 수: 1 (최근 30일)
KD
KD 2021년 12월 8일
답변: Voss 2021년 12월 8일
x = [4 9 11 2 4];
y = [10 7 2 2 10];
x(end+1)=x(1);
y(end+1)=y(1);
area=polyarea(x,y);
str=sprintf('Area of the Polygon is : %d', area);
plot(x,y, 'g'), title(str, 'FontSize', 16);

답변 (1개)

Voss
Voss 2021년 12월 8일
Look into text.

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by