2009-06-28 142 views

回答

9

你想要的是「hold」命令。它保留了當前的繪圖/座標軸,並使您能夠在另一個繪圖上添加新的繪圖。例如: -

hist(somedata); 
hold; 
plot(someotherdata); 

see here

+0

+1 MathWorks的頁面。也適用於Octave。 – 2011-10-24 03:19:51