Unrecognised option lockaxesticks
2 views (last 30 days)
Show older comments
Hi,
I try to save a Matlab figure in .png extension but I get following error: "Unrecognised option lockaxesticks"
What does this mean? It is the first time I get this error and I do not find any help about it. I get this error also for .jpg, .bmp, .tif and .pdf extensions. I can save to .fig extension though.
I created the figure by loading an old .fig file and adding data to the original plot via the plot browser if this helps. I have done it before, without any error..
Thanks!
Giorgos
2 Comments
Oleg Komarov
on 22 Apr 2012
Post the relecant code: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Mark S.
on 25 Jul 2012
I am having this identical problem currently. I think it is possible that I had generated the figure in a newer version of Matlab (2011, a I think) and now I want to edit it and export it using Matlab 2010a. Exporting as a .jpg or .pdf results in the error: "Unrecognised option lockaxesticks" and the file does not save. Other options may as well. The only way that I can sucessfully save the file currently is to save it as a .fig. This is happening with all of my most recent figures (possibly those that I had created on the newer version of matlab?). However, my older figures will still export.
I just freshly installed Matlab 2012a and it did export the desired figure to pdf without giving this error. Is it possible that starting with Matlab 2011 a property name was modified?
Answers (2)
M
on 16 Nov 2013
Edited: M
on 30 Nov 2013
If anyone still freaks out about this BUG, as i did for this entire day:
- go to C:\Users\"YourName"\AppData\Roaming\MathWorks\MATLAB\R2010a\ExportSetup
- open default.txt
- delete the line "lockaxesticks off/on"
Problem solved ;)
-------edit-------
this solved the problem just once. Next day it pops up again and no way to solve it this time...
Any solutions? Like this Matlab is worthless...
0 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!