MATLAB Answers


making a figure always on top

Asked by mohammad
on 17 Sep 2011

how could a figure be always on top of other windows?



No products are associated with this question.

2 Answers

Answer by Wayne King
on 17 Sep 2011
 Accepted answer

If you have a handle to a figure.

h1 = figure;

And after you create subsequent plots, you call:


That will raise the figure above all others.



but it's needed when i use same plot command, it plots in the same figure window and not another figure window

Answer by Igor
on 18 Jun 2013

If you need to make a figure ALWAYS on top, try this.

  1 Comment

Thanks, so nice!!!

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!