The CloseRequestFcn is invoked when the figure closes which will also invoke the DeleteFcn if the bars still exist. See a demo in the comments ...
確定! 回上一頁