r - strwidth("W", cex = tl.cex) 中的错误:尚未调用 plot.new
问题描述
我corrplot
在 R (for mac) 中使用包,我有一条错误消息
strwidth("W", cex = tl.cex) 中的错误:尚未调用 plot.new
有人可以帮我吗?
更多细节:
我正在尝试使用这些命令来可视化带有圆圈 + 黑色数字的 Pearson 相关图
corrplot(x.cor, order = "original", type = "upper", tl.pos = "tp")
corrplot(x.cor, add = TRUE, type = "lower", method = "number",
order = "original", col = "black", diag = FALSE,
tl.pos = "n", cl.pos = "n")
第一个命令执行良好,但第二个命令有以下错误和白色窗口(石英 2)没有绘图:
strwidth("W", cex = tl.cex) 中的错误:尚未调用 plot.new
解决方案
推荐阅读
- c# - C#将字符串列表转换为对象
- javascript - 我如何更改 img 源?假设我有 10 张图片要在同一来源上更改
- spring - 解析出有效表达式后,表达式pageCount中还有更多数据
- angular - Angular 11 - mat-sort 在 ng-modal 表中不起作用
- flutter - Websocket在flutter中从私有通道访问数据
- r - 如何以网格模式整齐地排列用户输入复选框(或其他用户输入)?
- python - 如果里面的内容是数字,去掉括号
- css - 嵌入样式表在 Xamarin 中不起作用
- asp.net - 为什么 PayPal 的示例订单 API 代码会在我的 ASP.NET Web 应用程序中生成错误?
- json - 如何忽略 jq 中损坏的 JSON 行?