Putting information on a imshow graph

1 次查看(过去 30 天)
Hello, I am currently using imshow to display a matrix that continuously updates(for conways game). I am trying to add a tile to the displayed image. Is there a way to do this? If not, is there a function that i can use to display the matrix in a similar way so i can add the information? Thanks

回答(1 个)

Joseph Cheng
Joseph Cheng 2017-3-31
there is a function called title()
x=rand(100,100);imshow(x),title('text')

类别

Help CenterFile Exchange 中查找有关 Conway's Game of Life 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by