How can I change the size of the text in annotation, and place a border around it?
84 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mary Hemler
el 22 de Abr. de 2020
Respondida: Sindar
el 22 de Abr. de 2020
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 comentarios
Respuesta aceptada
Sindar
el 22 de Abr. de 2020
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Tables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!