Cannot set the tick mark direction as default
14 ビュー (過去 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
set(0,'defaultAxesTickDir','out');
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
set(gca,'TickDir','out');
each time I plot a figure, but this is very inconvenient. Does anybody knows how to work around this problem?
0 件のコメント
採用された回答
Doug Hull
2014 年 11 月 18 日
From our development staff:
set(groot, 'defaultAxesTickDir', 'out');
set(groot, 'defaultAxesTickDirMode', 'manual');
plot(1:10)
It is important that you set these two defaults in this order to be effective.
3 件のコメント
Star Strider
2014 年 11 月 19 日
As I read the documentation, setting any property to something other than the default automatically sets the associated ‘Mode’ setting to 'manual'. When did that change? Can TMW change it back so it does?
その他の回答 (2 件)
Shin
2014 年 11 月 17 日
編集済み: Shin
2014 年 11 月 17 日
4 件のコメント
Star Strider
2014 年 11 月 17 日
Agreed. You can set it but it doesn’t do anything. It’s not listed in the groot properties. Another reason to not uninstall R2014a.
参考
カテゴリ
Help Center および File Exchange で Graphics Performance についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!