Info

此问题已关闭。 请重新打开它进行编辑或回答。

how do i make the size of the strings appear bigger in plot

1 次查看(过去 30 天)
n = [10e21,10e18,10e27,10e36,10e32];
kt = [10000, 10, 1000, 10, 10^5];
loglog(kt,n,'go')
strings = {' reactor', ' point 1',' point 2',' point3',' point4'}
for ind = 1:length(n)
text(kt(ind),n(ind),strings{ind})
end

回答(1 个)

Jan
Jan 2016-2-7
By defining a larger font size:
text(kt(ind), n(ind), strings{ind}, 'FontSize', 16)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by