Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 9 Mar 2018
  7 Comments
Raphael Ferreira
Raphael Ferreira on 15 Mar 2018
Edited: Raphael Ferreira on 15 Mar 2018
I got it, I used the function "getframe" and turned it into an image and saved it in the "imwrite" function.
Thank you.
result:

Sign in to comment.

More Answers (0)

Categories

Find more on Display Image in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!