two figures popping problem??

when I make a figure with an axis I always get another figure appearing. How to stop the second one?is it because the drawnow command?
figname = figure( );
ax = axes('Parent', figname,'XLim',[0 200],'YLim',[0 200]);
.
.
.
drawnow()

 Akzeptierte Antwort

Image Analyst
Image Analyst am 29 Jan. 2012

1 Stimme

I copied and pasted your code:
figname = figure( );
ax = axes('Parent', figname,'XLim',[0 200],'YLim',[0 200]);
drawnow()
and I only get one figure window. You must be doing something additional to cause the additional figure window to appear.

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Performance finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by