How to give print of a certain axis in the guide?

1 次查看(过去 30 天)
I'm trying to get print out of a particular axis where the video is but I can not. I can only print from the whole window, but not from a specific axis. The function I used was:
set (gcf, 'PaperPositionMode', 'auto');
print ('PeaksSurface', '-dpng', '-r0');
Result:
Only prints the entire screen. I need to print only the video.

采纳的回答

Walter Roberson
Walter Roberson 2018-3-9
  7 个评论
Raphael Ferreira
Raphael Ferreira 2018-3-15
编辑:Raphael Ferreira 2018-3-15
I got it, I used the function "getframe" and turned it into an image and saved it in the "imwrite" function.
Thank you.
result:

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by