Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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

Answers (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!