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.

 Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by