条件图中的数据点“ 0”看不见

发布于 2025-02-03 02:41:03 字数 521 浏览 1 评论 0原文

我试图使用Spec_conditions作为颜色代码在R中绘制XY图。不幸的是,spec_condition的数据点= 0不显示或仅在透明中显示。这是我到目前为止的代码:

plot(m.mx$V6, m.mx$m.pmtl83351, col=spec_conditions,
       pch=16,
       main = "pMTL 83351 + placORMi")
  axis(1, at=m.mx$V6, labels=m.mx$V6, cex.axis=1, cex.lab=0.1)
  legend("topleft",
         legend = spec_conditions,
         col=spec_conditions,
         cex=0.8,
         inset=0.01,
         pch = c(rep(16,7)))

“在此处显示绘图示例”

I tried to draw a xy plot in R using spec_conditions as a color-code. Unfortunately, data points of spec_condition = 0 do not show or show only in transparent. This is my code so far:

plot(m.mx$V6, m.mx$m.pmtl83351, col=spec_conditions,
       pch=16,
       main = "pMTL 83351 + placORMi")
  axis(1, at=m.mx$V6, labels=m.mx$V6, cex.axis=1, cex.lab=0.1)
  legend("topleft",
         legend = spec_conditions,
         col=spec_conditions,
         cex=0.8,
         inset=0.01,
         pch = c(rep(16,7)))

show plot example here

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文