How to plot the data with the size:

2 comentarios

Cris LaPierre
Cris LaPierre el 22 de Feb. de 2021
What type of plot do you want?
Megha
Megha el 22 de Feb. de 2021
Editada: KSSV el 22 de Feb. de 2021

Iniciar sesión para comentar.

 Respuesta aceptada

KSSV
KSSV el 22 de Feb. de 2021

1 voto

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

5 comentarios

Megha
Megha el 22 de Feb. de 2021
Editada: KSSV el 22 de Feb. de 2021
@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 el 22 de Feb. de 2021
Do you have any reference plot for such data?
KSSV
KSSV el 22 de Feb. de 2021
This should be achieved with pcolor. Attach your data.
KSSV
KSSV el 22 de Feb. de 2021
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 el 22 de Feb. de 2021
That's great....thanks is accepting/ voting the answer.. :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Performance en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 21 de Feb. de 2021

Editada:

el 25 de Feb. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by