标签: matlab plot
我目前有一个轮廓图,就像这里的
http://www.originlab.com/www/helponline/Origin/en/mergedProjects/Tutorial/images/Contour_Plot_with_Major_and_Minor_Levels_Filled_by_Using_Color_Palette/Graph_Gallery_Contour_Plot_Palette_16.png,
现在我想在长度宽度平面上添加一些简单的函数图,比如f(width)= width ^ n等,但我不知道如何重叠这两个图。
答案 0 :(得分:5)
因此,您希望在添加新图表时保留当前图表:使用hold on。请参阅http://www.mathworks.nl/help/matlab/ref/hold.html。
hold on