how to combine saved figure files in a subplot

조회 수: 3 (최근 30일)
Jorge Rivé
Jorge Rivé 2013년 10월 10일
답변: Farhad Sedaghati 2015년 6월 22일
Hello,
I've found help on the web regarding combining saved figure files in a subplot using the copyobj command. However, I can't seem to be able to copy the complete figures which include titles, text, and a legend. Is there anyway to copy the saved plot (with all its attributes) into a subplot?
  댓글 수: 1
Jan
Jan 2013년 10월 10일
편집: Jan 2013년 10월 10일
Where did you found which method? Please post what you have tried so far, than adding the new details is much easier than writing the complete code from scratch guessing many details.
You cannot copy a saved plot "with all details" to a subplot, because e.g. a legend does not belong to the plot axes directly.

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

답변 (2개)

Image Analyst
Image Analyst 2013년 10월 11일

Farhad Sedaghati
Farhad Sedaghati 2015년 6월 22일
This following function helps you to put several fig files next to each other as subplots: http://www.mathworks.com/matlabcentral/fileexchange/51236-subplot

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by