In R2010b, I can reset the label shortcuts to automatically edit the picture,but I would like to reset them to the default programmatically.I tried
set(gca,'XTickLabel','auto')
But it displays “auto” at every tick ... Any hint?
You need to install XTickLabelModeon 'auto':
XTickLabelMode
'auto'
set(gca,'XTickLabelMode','auto')
Label tag mode is set to 'manual'when you specify tag labels. So you need to get it back on 'auto'.
'manual'
OK, I finally found this method:
set(gca,'XTickLabel', num2str(get(gca,'XTick')'));
I read ticks and convert them back to strings ...
: , , , , / , XTickLabelMode "" , , XTickLabel .
, , ( )., , , , .
- , .
Source: https://habr.com/ru/post/1526943/More articles:In a CQRS architecture without an explicit read model, which processor updates the data store? - design-patternsspring -data-elasticsearch с использованием критериев с вложенными объектами - javaUpdating $ scope between two controllers - javascriptUsing Angular Freemasonry in AngularJS? - angularjsMATLAB sets specific defaults - matlabErlang: использование большой памяти для обработки списка двоичных частей - performanceServiceStack full noob tutorial - c #Android Circular motion of gallery elements with indicator - androidDouble wildcard parameterization (nested wildcard characters) using Java generics - javaComplex query with SQL COUNT and SUM - androidAll Articles