how to plot pcolor and contour in one figure??
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Contour Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!