How to do a 2D surface pot as excel graph XY plane isoSAR?

조회 수: 3 (최근 30일)
Giuseppe Anastasio
Giuseppe Anastasio 2021년 5월 2일
답변: Scott MacKenzie 2021년 6월 6일
In attached excel file I need to replicate with matlab "XY plane isoSAR" graph. I also tried with countourf but I'm not capable to do that. How can I do this?
Tahnks for answers
  댓글 수: 1
SALAH ALRABEEI
SALAH ALRABEEI 2021년 6월 5일
use contour not contourf. try to increase the levels ex
% code
contour(X,Y,Z,20)

댓글을 달려면 로그인하십시오.

답변 (1개)

Scott MacKenzie
Scott MacKenzie 2021년 6월 6일
f = figure;
f.Color = 'w';
f.Units = 'normalized';
f.Position = [.1 .2 .8 .5];
M1 = readmatrix('https://www.mathworks.com/matlabcentral/answers/uploaded_files/604555/x%20articolo.xlsx', ...
'range', 'B3:V14');
M2 = readmatrix('https://www.mathworks.com/matlabcentral/answers/uploaded_files/604555/x%20articolo.xlsx', ...
'range', 'AA3:AI14');
M3 = readmatrix('https://www.mathworks.com/matlabcentral/answers/uploaded_files/604555/x%20articolo.xlsx', ...
'range', 'AL3:AU20');
tiledlayout(1,3);
nexttile;
contour(M1);
nexttile;
contour(M2);
nexttile;
contour(M3);

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by