plotting an image on top of another plot

5 ビュー (過去 30 日間)
Stephen Devlin
Stephen Devlin 2018 年 1 月 29 日
コメント済み: Arsham Mostaani 2022 年 10 月 12 日
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

採用された回答

Stephen Devlin
Stephen Devlin 2018 年 1 月 29 日
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)
  1 件のコメント
Arsham Mostaani
Arsham Mostaani 2022 年 10 月 12 日
Thanks it helped me a lot!
One can also click on the curve/surface and open the property inspector. Then on the colouring and styling tab, the FaceAlpha can be selected 0.5. FaceAlpha is the parameter that indicates the transparency of the curve/surface.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by