Create plot handle without rendering it.

4 views (last 30 days)
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.

Accepted Answer

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 5 Jun 2020
H = figure("Visible",false); HH = plot(1:5);

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!