Unrecognised option lockaxesticks

1 view (last 30 days)
Giorgos
Giorgos on 22 Apr 2012
Edited: M on 30 Nov 2013
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
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.
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?

Sign in to comment.

Answers (2)

Giorgos
Giorgos on 17 May 2012
Hi Oleg,
There is no code. I loaded a .fig file I made earlier. When I load it (no problems with that), and I try to save the file again (even with not changing anything) I get the error "unrecognised option lockaxesticks"..

M
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...

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!