how to plot pcolor and contour in one figure??
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!