Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Benjamin Cowen
Benjamin Cowen le 7 Fév 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (1)

Jan
Jan le 7 Fév 2016
By defining a larger font size:
text(kt(ind), n(ind), strings{ind}, 'FontSize', 16)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by