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

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.
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.

Gefragt:

am 3 Jul. 2018

Beantwortet:

am 3 Jul. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by