I want to extract the image without the axes

4 次查看(过去 30 天)
I can only use 'axis off' to hidden the axis,but it still has white area.I can not deal with image one by one because I need to deal with many date in the same code.
  3 个评论
neal paze
neal paze 2021-5-19
I make a image with the function of imagesc.I only want to the image without the axies and backgroud.But the axis can only off,can not delete.

请先登录,再进行评论。

回答(1 个)

Jan
Jan 2021-5-19
img = getframe(AxesHandle)
  1 个评论
neal paze
neal paze 2021-5-19
It still does not work.It tells "Unrecognized function or variable 'AxesHandle'."

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Graphics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by