How to superimpose figures obtained from different simulations?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi! I would like to superimpose different figures that I have saved from different simulations (results from solving a problem for different load cases).If please anyone could help me... Thank you very much!
댓글 수: 6
Image Analyst
2015년 3월 29일
When you click "Comment on this answer" and get an edit box, there are 10 icons - from the B in a square, to the last one on the right which is a question mark with the word Help beside it. The green and brown image frame icon is the 8th icon in the toolbox, between the chain link and the paper clip. As it is, with fig files, people have to download them and load them into MATLAB rather than just seeing them immediately like they could if you used the frame icon to insert the images into the message. So it's less convenient for us and makes it less likely that people will help you.
답변 (2개)
Image Analyst
2015년 3월 29일
Some functions to look at imfuse(), imshowpair(), montage(). And of course you might get able to use getimage() or getframe() and average the two RGB images.
Image Analyst
2015년 3월 30일
After you plot the first curve, just put "hold on" and then plot your subsequent curves.
hold on;
That will prevent subsequent calls to plot() from blowing away the prior curves.
댓글 수: 4
Image Analyst
2015년 3월 30일
Let me see the loop. You don't have a hold off anywhere in there do you? Or a cla('reset'), do you? And why are you using imread() instead of load? You don't want to save fig pictures - you want to save the actual x,y data ONLY, NOT fig pictures. Then use load() to read in the x,y coordinates and plot them.
참고 항목
카테고리
Help Center 및 File Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!