how to plot pcolor and contour in one figure??
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sir i am trying to plot pcolor with contour using the following code
x=61:1:100;
y=1:1:40;
figure;
pcolor (x,y,m1); % m1 is a gridded data file of trend (increasing or decreasing) having dimension 40*40
shading flat;
hold on;
plot (a,b); %a,b are the co ordinates of the indian map
hold on
contour (x,y,c1); %c1 is the data file of correlation coefficient having dimenstion 40*40
hold off
but when I plot the contour plot, it turns the whole pcolor plot a nasty shade of green or something. please help
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Contour Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!