Hello together,
i've got a problem with the following command line:
set(fig1,'PaperPositionMode','auto')
print([handles.folder_name,'\',dat_name],'-dpng','-r300')
it's included in a bushbutton callback function in a GUI
Instead of saving the right figure i get a picture of the GUI itself
Does anyone have an idea?

답변 (1개)

Image Analyst
Image Analyst 2016년 9월 1일

0 개 추천

The GUI IS the figure. Did you perhaps mean an axes control ON the figure? then use export_fig

댓글 수: 1

Christian Müller
Christian Müller 2016년 9월 1일
Maybe i was inaccurate...
I've got a GUI with a few pushbuttons. One of them creates a new figure with a Plot which i want so safe as a *.png file. But instead of saving the plot i get a picture of the GUI.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

태그

질문:

2016년 9월 1일

댓글:

2016년 9월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by