Transparent figure window for real-time projection

7 ビュー (過去 30 日間)
Eli Syne
Eli Syne 2023 年 1 月 11 日
コメント済み: Eli Syne 2023 年 1 月 13 日
Hi, I am running real-time integration between Matlab and my hardware setup in an augmented reality system, and I would like to project my Matlab generated figure with a transparent window background (preserving only the image). So far, I have come across codes that allow us to set transparent background when saving the figures (e.g. exportgraphics) - maybe I haven't fonud the right keyword for the search. I tried using the 'set' command (i.e. set(gca,'BackgroundColor','none')) but I haven't been able to get that working.
Does anyone know a way to make the figure window background transparent or completely hide it (including the title, menu bar and figure toolbar) straight from the code, showing only the image when the figure is generated?
Thank you for your help!

回答 (1 件)

DGM
DGM 2023 年 1 月 11 日
編集済み: DGM 2023 年 1 月 11 日
Last I heard, the answer was no.
Not unless you're running R2013a or older, with an appropriately old version of Java, and want to try some undocumented/unsupported things.
  1 件のコメント
Eli Syne
Eli Syne 2023 年 1 月 13 日
Thank you for your reply, and for sharing the links. I will check them out =)

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

カテゴリ

Help Center および File ExchangeDisplay Image についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by