How to copy figure settings using the drop down menus in Figure?

조회 수: 11 (최근 30일)
Stephen
Stephen 2017년 8월 3일
댓글: Stephen 2017년 8월 4일
I have carefully edited a complex figure using the drop down menu in the Figure panel, Edit/Figure Properties and Edit/Axes Properties:
How can I use the Edit dropdown menu now to Save these settings and apply them to other figures? The instructions on the relevant Mathworks webpage (https://www.mathworks.com/help/matlab/creating_plots/customize-figure-before-saving.html#bupekdj-5) didn't work for me. Has anyone used the "export" and "save" functions on one figure and got them to export and apply to another figure?
Any help would be appreciated!

채택된 답변

Michael L
Michael L 2017년 8월 3일
File > Generate Code
That should do the trick for you!
  댓글 수: 3
Stephen
Stephen 2017년 8월 4일
I tried working with the Matlab code...too complicated for me. Is there any way to use the pulldown menu in Figure>File>Export Settings to clone the figure settings?
Stephen
Stephen 2017년 8월 4일
OK, I finally resolved the problem. I was trying to clone a ribbon plot that had >150 "ribbons" (X Y Z data) and thus was getting hundreds of comment lines and instructions on how to handle each separate "ribbon". By scrolling to the end, I found the key lines of the script:
set(axes, yada yada yada...)
and was able to copy/paste that on to my original script to get what I needed.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by