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.

 Respuesta aceptada

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

2 comentarios

Matt J
Matt J el 5 de Jun. de 2020
Excellent!
Sulaymon Eshkabilov
Sulaymon Eshkabilov el 5 de Jun. de 2020
Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by