Azzera filtri
Azzera filtri

Weird behavior when adding a subplot grid title BEFORE plotting in a Live Script. Is there a workaround without having to add the title AFTER plotting?

3 visualizzazioni (ultimi 30 giorni)
In a Live Script, if I add a subplot grid title to an invisible* figure, the acts of plotting or making the figure visible sometimes remove the subplot grid title. The attached Live Script, 'LiveScript_examples.mlx', shows when this weird behavior does and does not occur. The attached script, 'Script_examples.m', shows that this weird behavior does not occur in normal scripts.
*The only reason why I create an invisible figure is because I want to programmatically open the figure outside of the Live Script to access some context menu drop-downs created by bode (i.e. Systems, 'Characteristics', 'Show', and 'Properties...'). When I change the property 'Visible' to 'on', the figure "pops" out of the Live Script into its own window.

Risposte (0)


Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by