フィルターのクリア

how to get coordinates of a marker

1 回表示 (過去 30 日間)
Habtamu Tesfaw
Habtamu Tesfaw 2020 年 6 月 25 日
コメント済み: Habtamu Tesfaw 2020 年 6 月 25 日
How can I get the x and y coordinates of the points on the circle. the center of the circle is at (346,278). I ploted the circle using the following command.
plot(346,278,'Marker','o','color','k','Markersize',20).
Thank you for your help
  2 件のコメント
KSSV
KSSV 2020 年 6 月 25 日
Already you have the coordinates in hand right?
(346, 278)
Habtamu Tesfaw
Habtamu Tesfaw 2020 年 6 月 25 日
this one is the ceneter of the circle. I want the coordinate values on the circle. The circle is not ploted using inhand data. the circle can be ploted using 'marker size' command of matlab, given its center.

サインインしてコメントする。

採用された回答

KSSV
KSSV 2020 年 6 月 25 日
You can plot your required circle given center and radius using the below method.
C = [346 278] ; % Center of the circle
R = 0.5 ; % Radius
th = linspace(0,2*pi) ;
x = C(1)+R*cos(th) ;
y = C(2)+R*sin(th) ;
  1 件のコメント
Habtamu Tesfaw
Habtamu Tesfaw 2020 年 6 月 25 日
Thank you so much!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by