Effacer les filtres
Effacer les filtres

how can i add text inside subplot(1,3,3) writing code

16 vues (au cours des 30 derniers jours)
zainab srabony
zainab srabony le 3 Juil 2018
Réponse apportée : jonas le 3 Juil 2018
  2 commentaires
Rik
Rik le 3 Juil 2018
What is your actual question?
Have a read here and here. It will greatly improve your chances of getting an answer.
zainab srabony
zainab srabony le 3 Juil 2018
Modifié(e) : zainab srabony le 3 Juil 2018
this is my code.and i just put text on subplot(1,3,3) in output figure.

Connectez-vous pour commenter.

Réponses (1)

jonas
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')

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by