Output Multiple Graphs from one function - handle to deleted object

I currently have a function that attempts to create a bar and swarm plot and output them to be viewed simultaneously. I can only get the last graph in the function to print, the other one says "handle to deleted". It seems logical to me that a function ought to be able to print multilpe graphs. I am using hold on/off appropriately as I want the graphs to be separate, not imposed on each other. Is there a way for me to be able to print these two graphs?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2023년 4월 4일

댓글:

2023년 4월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by