Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Walter Roberson
Walter Roberson il 9 Mar 2018
  7 Commenti
Raphael Ferreira
Raphael Ferreira il 15 Mar 2018
Modificato: Raphael Ferreira il 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:

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by