Hello, Why text() is returning: "Index in position 1 exceeds array bounds (must not exceed 1)" when I do:
hold on;imshow(img)text(20, 40, 'Some text');hold off;
This example from the documentation also doesn't work.
x = 0:pi/20:2*pi;y = sin(x);plot(x,y)text(pi,0,'\leftarrow sin(\pi)')
I can live without this and have an alternative, but this would fit much nicer in my design. Many thanks
Best Answer