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 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!