MATLAB Answers

plotting an image on top of another plot

조회 수: 27(최근 30일)
Hi,
I have a script which plots a figure (a waveform) on top of the results from using that waveform, it works but I would like to be able to position it in the best location for each graph within the loop. I know it can be done with the legend box, I'm hoping it can be done with an image too. If not, is there a way to affect the transparency of the image on top so that graph points may be seen through it
Best regards
Steve

  댓글 수: 0

로그인 to comment.

채택된 답변

Stephen Devlin
Stephen Devlin 29 Jan 2018
Figured out how to do it as a transparency so will leave this for anyone who may be interested
C=image_file
h=imshow(C)
set(h,'AlphaData',0.5)

  댓글 수: 0

로그인 to comment.

추가 답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by