How can I change the size of the text in annotation, and place a border around it?
84 次查看(过去 30 天)
显示 更早的评论
Hi! I would like to have a textbox on the outside of a polarplot, but with a border around it. It had a border around it when it was inside of the polarplot, but once I moved the textbox outside, the border disappeared. I would also like to make the textbox font size larger than the default. Here is my code so far:
figure
polarplot(FR{62})
annotation('textbox',[0.12, 0.80, 0, 0],'String',['Mutual Info = ',num2str(mutualInfoTotal(62))])
title('Mouse 28 Cell 62, Thalamus')
0 个评论
采纳的回答
Sindar
2020-4-22
You are setting the width and height of the box to 0.
annotation('textbox',[0.12, 0.80, 0.1, 0.1],'String',['Mutual Info = ',num2str(mutualInfoTotal(62))],...
'FontSize',24,'EdgeColor','k')
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!