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()

 채택된 답변

Image Analyst
Image Analyst 2012년 1월 29일

1 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by