我正在尝试使xticklabels(单元格数组)加粗。我尝试了一些变体:
h=figure(1);
gca.XAxis.TickLabel='\bf{%g}' % xticklabel is preassigned in box plot as text from cell array {'AB','CD','EF','GH'}.
但是,大多数错误都会导致
之类的错误Error using set,Conversion to double from struct is not possible
请针对上述问题提出解决方案,并在可能的情况下为此效果提供默认属性设置器。
我正在使用MATLAB 2017a。