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

2 Comments

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.

Sign in to comment.

Answers (1)

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

No tags entered yet.

Asked:

on 3 Jul 2018

Answered:

on 3 Jul 2018

Community Treasure Hunt

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

Start Hunting!