我想更改数据课程的属性,让他更大胆。除了如何用qualiade输出数字的最佳方式?
TKS
答案 0 :(得分:1)
http://www.mathworks.com/support/solutions/en/data/1-8FU2S5/:
alldatacursors = findall(gcf,'type','hggroup')
set(alldatacursors,'FontSize',20)
set(alldatacursors,'FontName','Times')
答案 1 :(得分:1)
上面的回答给了我一个错误:
Error using hg.hggroup/set
The name 'FontSize' is not an accessible property for an instance of class 'line'.
这对我来说效果更好:
cursorMode = datacursormode(gcf);
dataTipsH = cursorMode.DataCursors;
set(dataTipsH,'FontSize',12)