设置 persp() 绘图的背景颜色

发布于 2024-09-08 09:58:26 字数 152 浏览 0 评论 0原文

有什么方法可以设置使用基本 R 函数 persp() 构建的图的背景颜色吗?

bg="black" 在提供给 persp() 时或之前提供给 par() 时都会被忽略。

Is there any way to set the background color of plots constructed using the base R function persp()?

bg="black" is ignored either when supplied to persp() or previously to par().

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦初启 2024-09-15 09:58:26

我不确定你所说的“忽略”是什么意思。一个可重现的示例会很有帮助,如下所示:

 par(bg = "black");persp(volcano)

I'm not sure what you mean by "ignored" here. A reproducible example would be helpful, something like this:

 par(bg = "black");persp(volcano)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文