No text in figure
Mostrar comentarios más antiguos
Hey!
I have a problem here... Today I wanted to create a plot, like always. But, I don't know how it happenend, there is no text on the axes and even title('Title1') it has no effect on the figure. the code generating the figure below is:
x=linspace(1,10,1000);
y=x.^2;
plot(x,y)
title('Title1')
and there is neiter the 1to 100 scale on the xaxis nor the scale on the y axis nor the title...(Usually the scales appeared by default!) I think I have changed something in the defaults ( not intentionally...) and now want to have the defaults back... (I tried it with 2007 and 2012, both the same...)
Or is there a way to reset all settings of matlab???
What could I do???
Greets,
Friederike

Respuestas (1)
Daniel Shub
el 9 de Ag. de 2012
0 votos
To set MATLAB back to the default you can delete your preference directory. You can find the preference directory with prefdir.
Since you see the problem in both R2007x and R2012x, preferences are not likely the problem. Did you update your graphics card or java environment recently? Have you tried rebooting your machine?
4 comentarios
Friederike
el 9 de Ag. de 2012
Daniel Shub
el 9 de Ag. de 2012
You can move/rename your preference directory and see if that fixes it. If not you can easily undo the changes.
Friederike
el 9 de Ag. de 2012
Editada: Friederike
el 9 de Ag. de 2012
Daniel Shub
el 9 de Ag. de 2012
Quit MATLAB, rename .\MathWorks\MATLAB\R2012a to .\MathWorks\MATLAB\R2012a_bak and then start MATLAB. This will automatically create a new .\MathWorks\MATLAB\R2012a folder. If this doesn't fix your problems, then delete the new .\MathWorks\MATLAB\R2012a and rename .\MathWorks\MATLAB\R2012a_bak to .\MathWorks\MATLAB\R2012a.
Categorías
Más información sobre Environment and Settings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!