MATLAB Function Reference
  Go to function:
    Search    Help Desk 
clf    See Also

Clear current Figure window

Syntax

Description

clf deletes from the current Figure all graphics objects whose handles are not hidden (i.e., their HandleVisibility property is set to on).

clf reset deletes from the current Figure all graphics objects regardless of the setting of their HandleVisibility property and resets all Figure properties, except Position, Units, PaperPosition, and PaperUnits to their default values.

Remarks

The clf command behaves the same way when issued on the command line as it does in callback routines - it does not recognize the HandleVisibility setting of callback. This means that when issued from within a callback routine, clf deletes only those objects whose HandleVisibility property is set to on.

See Also

cla, clc, hold, reset



[ Previous | Help Desk | Next ]