How to edit .fig (already saved image) in MATLAB?

조회 수: 104 (최근 30일)
Nisar Ahmed
Nisar Ahmed 2023년 1월 24일
댓글: Fangjun Jiang 2023년 1월 24일
Hi,
I have .fig files and loaded in MATLAB by using openfig as shown in below figure. I want to edit these .fig files, for example, want to plot (above and below panels as (a) and (b)), want to bold title and axis, re-size the images. After making one figure I want to save it as high resolution image by using print('------'). How can I do it?
Thanks

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2023년 1월 24일
편집: Fangjun Jiang 2023년 1월 24일
run "findobj(figld)" and you will see a list of objects.
The general idea is to use findobj() to find the handles of the needed objects and then modify the properties of the object.
lines=findobj(figld,'type','line')
get(lines(1))
  댓글 수: 2
Nisar Ahmed
Nisar Ahmed 2023년 1월 24일
Thanks, but did not understand, please elaborate a bit more
Fangjun Jiang
Fangjun Jiang 2023년 1월 24일
You've had the code that you showed. Run those, and then run the code that I showed. You will see the results and go from there.

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

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by