I want to extract the image without the axes

1 view (last 30 days)
neal paze
neal paze on 19 May 2021
Commented: neal paze on 19 May 2021
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 Comments
neal paze
neal paze on 19 May 2021
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.

Sign in to comment.

Answers (1)

Jan
Jan on 19 May 2021
img = getframe(AxesHandle)
  1 Comment
neal paze
neal paze on 19 May 2021
It still does not work.It tells "Unrecognized function or variable 'AxesHandle'."

Sign in to comment.

Categories

Find more on Graphics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!