how can i add text inside subplot(1,3,3) writing code
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191638/image.jpeg)
2 commentaires
Réponses (1)
jonas
le 3 Juil 2018
Here are two methods. In the first one, x and y refers to the axis coordinates. Make sure you set the current axis to the correct subplot
text(x,y,'text')
In the second one, x and y refers to the figure coordinates
annotation('textbox',[x y w h],...
'string','text',...
'linestyle','none')
0 commentaires
Voir également
Catégories
En savoir plus sur Subplots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!