Cannot set the tick mark direction as default
11 次查看（过去 30 天）
I recently switched to 2014b MATLAB, and I can no longer set the axes tick mark direction as default. That is, I used to be able to set the tick mark direction 'outward' by
However, this command does not work any more. When I plot a new figure, the tick mark direction always becomes inward. I can still correct the direction by
each time I plot a figure, but this is very inconvenient. Does anybody knows how to work around this problem?
Doug Hull 2014-11-18
From our development staff:
set(groot, 'defaultAxesTickDir', 'out');
set(groot, 'defaultAxesTickDirMode', 'manual');
It is important that you set these two defaults in this order to be effective.