How to place(by codes) some equation results,values,annotations etc on the plot?


Hi engindereli.

You can use text function, it brings to you the posibility of insert text at any coordinade, e.g.

t = linspace(0,10,1e3);
y = t.^2;
figure
plot(t,y);
text(5,50,"some text");

1 Like

Hi 8945372,
Thanks for replying but I want to place them at bottom of the plot like in 1st pic. Lets say we coded and after the plot is drawn these results of calculations can be seen at the bottom.

Subplot(2,1,1) and subplot(2,1,2) might help. Position your graph in the upper plot and your text in the lower.

2 Likes