Filter löschen
Filter löschen

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

16 Ansichten (letzte 30 Tage)
zainab srabony
zainab srabony am 3 Jul. 2018
Beantwortet: jonas am 3 Jul. 2018
  2 Kommentare
Rik
Rik am 3 Jul. 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 am 3 Jul. 2018
Bearbeitet: zainab srabony am 3 Jul. 2018
this is my code.and i just put text on subplot(1,3,3) in output figure.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

jonas
jonas am 3 Jul. 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

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by