Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Matlab 中,我可以close all在脚本的开头使用来关闭绘图以避免堆积数字。
close all
R中有类似的命令吗?
graphics.off()应该管用。它是通过dev.off()根据需要多次调用来实现的。
graphics.off()
dev.off()