Annotation text box appears fuzzy
3 次查看(过去 30 天)
显示 更早的评论
When I add an annotation text box (text) to a chart with a legend (data1) and compare the line thickness of the plot area border, the legend border, and the textbox border they are all black with a thickness of 0.5. How do I get the text box border to appear like the other two rather than being fuzzy or thicker?

0 个评论
回答(1 个)
Mathieu NOE
2025-7-2
hello
according to the doc TextBox - Text box appearance and behavior - MATLAB you can tweak the properties of the box ,
figure
plot(1:10)
t = annotation("textbox");
sz = t.FontSize;
t.FontSize = 12;
t.LineWidth = 2; % example
2 个评论
Mathieu NOE
2025-7-2
hello
sorry if that was obvious for you :)
when I looked at the picture , I had a hard time seeing the thickness diffeerence but maybe it's time for ma to get my eyes checked !
can you share a larger image so the difference may be more visible ?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Data Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
