how to plot ?

3 vues (au cours des 30 derniers jours)
Megha
Megha le 21 Fév 2021
Modifié(e) : Megha le 25 Fév 2021
How to plot the data with the size:
  2 commentaires
Cris LaPierre
Cris LaPierre le 22 Fév 2021
What type of plot do you want?
Megha
Megha le 22 Fév 2021
Modifié(e) : KSSV le 22 Fév 2021

Connectez-vous pour commenter.

Réponse acceptée

KSSV
KSSV le 22 Fév 2021
Read about pcolor, surf.
[X,Y,Z] = peaks(50) ;
figure
surf(X,Y,Z)
figure
pcolor(X,Y,Z)
  5 commentaires
KSSV
KSSV le 22 Fév 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 le 22 Fév 2021
That's great....thanks is accepting/ voting the answer.. :)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by