maps and isolines on the map of the continents

3 ビュー (過去 30 日間)
ELISABETTA BILLOTTA
ELISABETTA BILLOTTA 2021 年 7 月 24 日
回答済み: darova 2021 年 7 月 25 日
after having visualized the boundaries of the continents in the form of a map, I would like to create isolines within this map which identify and connect points with the same characteristics to each other. example: considering Naples as the center, I would like to create a line that connects the points that are located at a distance of 100 km from Naples, but only those on the continents not on the sea. an example would be lines 1-2-3, etc. in this figure
how can I do?
  2 件のコメント
darova
darova 2021 年 7 月 24 日
Please attach the data. DO you have any attempts?
ELISABETTA BILLOTTA
ELISABETTA BILLOTTA 2021 年 7 月 25 日
I calculated the data to create the isolines .. they are a simple Excel table with latitude, longitude of the point and value at that point.
I thought about contour but I don't know how to enter the data.

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

回答 (1 件)

darova
darova 2021 年 7 月 25 日
What about this?
t = 0:0.02:2*pi; % angle
r = 1 + 0.1*cos(10*t); % radius
[x0,y0] = pol2cart(t,r); % calculate cartesian coordinates
u0 = diff(x0); % component of x tangent vector
v0 = diff(y0); % component of y tangent vetor
u1 = u0./hypot(u0,v0); % normlizing
v1 = v0./hypot(u0,v0); % normalazing
u1(end+1) = u1(end); % copy last value (to make the size as 'X')
v1(end+1) = v1(end); % copy last value (to make the size as 'X')
x1 = x0 + 0.3*v1; % equidistant curve
y1 = y0 - 0.3*u1; % equidistan curve
plot(x0,y0,'r')
line(x1,y1)
legend('Original curve','equidistant curve')
See also this: LINK

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by