如何在ggplotly中更改数据名称?

发布于 2025-01-28 06:06:12 字数 148 浏览 2 评论 0原文

如果您移动光标,则会生成数据,但我想更改数据名称。 例如)原始ggplot的X轴名称为a,y轴为b。 我将轴的名称更改为XLAB和YLAB。 之后,使用ggplotly绘制了一个交互式图,并且光标的数据以原始轴的名称出现。这意味着a和b。 还有其他选择可以重命名Ggplotly吗?

If you move the cursor, data is generated, but I want to change the data name.
ex) The x-axis name of the original ggplot is a and the y-axis is b.
I changed the name of the axis to xlab and ylab.
Afterwards, an interactive graph was drawn using ggplotly, and the data from the cursor came out as the name of the original axis. It means a and b.
Is there another option to rename ggplotly?

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

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

发布评论

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