필터 지우기
필터 지우기

Polar Label Type Contour

조회 수: 2 (최근 30일)
Alexi
Alexi 2023년 1월 8일
I have 3 types of data. The first data is the angle, the second data is the radial distance, the third data is the pre-calculated data as a function of the first two data.
precomputed data
angle=[a1;a2;a3...];
radial =[r1;r2;r3..];
value=[var1;var2;var3...];
I tried this but ı didnt good result i think i'm wrong: The z values ​​must be a value in the x and y coordinates, not a function of x and y.
for example
angle = [0 36 72 108 144 180 216 252 288 324 360];
radial = [0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1];
value=[0.1;0.2;...........];
[a,r] = meshgrid(angle,radial);
[x,y] = pol2cart(a,r);
value = [var1;var2;var3...];; %must be located in x y coordinates
contourf(X,Y,Z,'ShowText','on')
daspect([1 1 1])
How can I obtain the circular contour distribution that indicates the position of the data calculated with the angle and distance data according to the angle and radial distance and writes (for example c label type) the value as a number?
I am sharing the similar graph that I want to achieve in the attachment.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by