Stuck in subplot mode, how do I reset the plotting engine?
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Jan
il 8 Mag 2017
Modificato: Jan
il 8 Mag 2017
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 Commenti
Vedere anche
Categorie
Scopri di più su Axis Labels in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!