Stuck in subplot mode, how do I reset the plotting engine?
조회 수: 7 (최근 30일)
이전 댓글 표시
Any time I plot it shows up as if subplot(2,2,1); was called first. This happens with a new figure, restarting matlab, etc.. I suspect there is some left over state from having paused an iterative plotting routine (watching an optimization proceed by plotting intermediate results). Another possible original cause is having resized the figure while the iterative plots were going on. Both of those actions caused weird plots at the time. Whatever the reason, plotting is now stuck in some non-default mode.
I have tried reset(gca); reset(gcf);
댓글 수: 0
답변 (1개)
Jan
2017년 5월 8일
편집: Jan
2017년 5월 8일
Let me repeat: You start Matlab and create a diagram by
AxesH = axes()
Now the position of the axes is the same as if you run
Axes2H = subplot(2,2,1)
Is this your problem? Then the default settings have been changed. Try:
set(groot, 'defaultaxesposition', 'factoryaxesposition');
Does matlabrc.m or startup.m contain any code, which changes the default position?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!