How to plot the data with the size:

댓글 수: 2

Cris LaPierre
Cris LaPierre 2021년 2월 22일
What type of plot do you want?
Megha
Megha 2021년 2월 22일
편집: KSSV 2021년 2월 22일

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

 채택된 답변

KSSV
KSSV 2021년 2월 22일

1 개 추천

Read about pcolor, surf.
[X,Y,Z] = peaks(50) ;
figure
surf(X,Y,Z)
figure
pcolor(X,Y,Z)

댓글 수: 5

Megha
Megha 2021년 2월 22일
편집: KSSV 2021년 2월 22일
@KSSV, I have been working with pcolor and imagesc and its quite familiar to me.
In case of imagesc, pcolor or surf,
X = Nx1
Y = Mx1
Z = NxM
However, the question here is somwhat different. Here Y is NxM. So could you please suggest something more.
Please see my same question which is rephrased on:
KSSV
KSSV 2021년 2월 22일
Do you have any reference plot for such data?
KSSV
KSSV 2021년 2월 22일
This should be achieved with pcolor. Attach your data.
KSSV
KSSV 2021년 2월 22일
load E2.mat ;
load T_hope1.mat ;
load FPSA2.mat ;
[m,n] = size(FPSA2) ;
x = repmat(T_hope1,1,n) ; % I hope your hopes are met :)
y = E2 ;
z = FPSA2 ;
pcolor(x,y,z)
shading interp
colorbar
KSSV
KSSV 2021년 2월 22일
That's great....thanks is accepting/ voting the answer.. :)

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Graphics Performance에 대해 자세히 알아보기

태그

질문:

2021년 2월 21일

편집:

2021년 2월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by