Polyshape rotation without distort

2 ビュー (過去 30 日間)
Elias Büdel
Elias Büdel 2021 年 10 月 12 日
コメント済み: Elias Büdel 2021 年 10 月 12 日
I did this, but the contour always distort.
May someone can help me.
format long
lat=GNSS_Lat_Abs
long=GNSS_Long_Abs
lat(1)=[]
long(1)=[]
PP=[lat,long]
Shape=polyshape(PP)
[a,b]=centroid(Shape)
S=[a,b]
Rot=rotate(Shape,70,S)
[x,y]=boundary(Rot)
geoplot(lat,long,'-x',x,y,'-x')
geobasemap satellite

採用された回答

Matt J
Matt J 2021 年 10 月 12 日
編集済み: Matt J 2021 年 10 月 12 日
Probably because the data aspect ratio of your plot is not 1. I.e., the scales of your x and y axes are different.
  1 件のコメント
Elias Büdel
Elias Büdel 2021 年 10 月 12 日
Thank you, now I know long and lat are not te same scaling

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Polygons についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by