(translator=pacific, ChineseSource=pacific-20020726-5\reset.html, EnglishSource=c:\matlabr12\help\techdoc\ref\reset.html)
MATLAB Function Reference    
reset

將圖形物件(graphics object)的 properties 設回預設值。

Syntax

Description

reset(h) h 所定義的物件特性中,有列在factory預設值的都設定回來(resets all properties having factory defaults on the object identified by h)。要檢閱factory預設值的設定,可利用下列指令(To see the list of factory defaults, use the statement,)

hfigure, MATLAB 不會重設 Position, Units, PaperPosition,和 PaperUnits。若 haxes, MATLAB 不會重設 PositionUnits.

Examples

reset(gca) 重設目前座標軸(axes)的特性。

reset(gcf) 重設目前圖形(figure)的特性。

See Also


 repmat reshape