Create plot handle without rendering it.

I was wondering if there were a way to create a plot handle without actually displaying the plot or its figure window until a later time of my choosing. I know I can do the following:
h=plot(1:5,'Visible','off');
However, even with Visible set to off, a figure window is still prematurely created.

 採用された回答

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2020 年 6 月 5 日

0 投票

H = figure("Visible",false); HH = plot(1:5);

2 件のコメント

Matt J
Matt J 2020 年 6 月 5 日
Excellent!
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2020 年 6 月 5 日
Thanks!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by