3
是否可以用2個yaxis生成pcolor圖?pcolor plot上的第二個y軸
考慮下面的例子:
clear all
temp = 1 + (20-1).*rand(365,12);
depth = 1:12;
time =1:365;
data2 = 1 + (60-1).*rand(12,1);
time2 = [28,56,84,124,150,184,210,234,265,288,312,342];
figure;
pcolor(time,depth,temp');axis ij; shading interp
hold on
plot(time2,data2,'w','linewidth',3);
相反在相同的y軸上標繪所述第二數據集的我想它放置在其自己的y軸上。這可能嗎?
從你寫什麼,我更想找plotyy涉及解決方案,但我不能讓plotyy與一個令pColor情節工作。 – Emma 2012-04-01 16:12:11