drawnow

Update figures and process callbacks

Syntax

  • drawnow()

Description

drawnow flushes the event queue and updates the figure window.

Example

x = -pi:pi/20:pi;
plot(x, cos(x))
drawnow
title('Title Here ...')
grid on

See also

refresh.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated