How can I change the size of the text in annotation, and place a border around it?

84 visualizaciones (últimos 30 días)
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')

Respuesta aceptada

Sindar
Sindar el 22 de Abr. de 2020
You are setting the width and height of the box to 0.
I believe this should do it, but check here for other properties you may need/want to tweak
annotation('textbox',[0.12, 0.80, 0.1, 0.1],'String',['Mutual Info = ',num2str(mutualInfoTotal(62))],...
'FontSize',24,'EdgeColor','k')

Más respuestas (0)

Categorías

Más información sobre Tables en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by