r - 如何使用 plot_ly 在 R 中的等高线上赋值
问题描述
我在 R Studio 中使用plot_ly来绘制等高线图。我希望等高线直接在图表上显示它们的值(类似于此处的图像:http ://www.cyber-wit.com/onlineHelp/Images/contour.png )。我不知道如何实现这一点。这是我的代码:
plot_ly(width = 600, height = 600,
type = 'contour',
z=Matrix_Contour,
)
谢谢您的帮助!
解决方案
推荐阅读
- java - 为什么在 Java 中使用递归方法时出现不支持的类版本错误?
- vue.js - 在 nuxt env 的自定义 scss 文件中使用 vuetify 变量
- kubernetes - 如何在 kubectl 中更改用户?
- vb.net - WinAppDriver Appium 找不到通过 inspect.exe 可见的元素
- flutter - 构建失败可能是由于插件中的 AndroidX 不兼容,对于 Flutter 中的插件 Workmanager
- r - 超过 R 中数值的 7 位小数限制?
- spring-boot - 石英配置的弹簧批处理不起作用 - 寻找弹簧元数据表而不是石英表
- python - numpy中函数的期望值
- c# - Azure 表存储在插入时支持空列字段
- javascript - Bootstrap 切换按钮无法正常工作