Error in plot.new(): figure margins too large

目录

Error in plot.new(): figure margins too large

问题:

解决:

完整错误:


问题:

mar=c(0,0,0,0) removes the margins

# par(mar = c(1, 1, 1, 1))
textplot(temptext1, valign="center", cex=0.8, halign= "left",mar=c(1,1,1,1), col=2) # mar=c(0,0,0,0) removes the margins
temp <- locator(1)
text(temp, temptext2,col=4)

解决:

par(mar = c(1, 1, 1, 1))

temptext2 <-  "You can also add more text in the usual way by using again the locator(1)+text() functions"
par(mar = c(1, 1, 1, 1))
textplot(temptext1, valign="center", cex=0.8, halign= "left",mar=c(1,1,1,1), col=2) # mar=c(0,0,0,0) removes the margins
temp <- locator(1)
text(temp, temptext2,col=4)

完整错误:

Error in plot.new(): figure margins too large
Traceback:1. textplot(temptext1, valign = "center", cex = 0.8, halign = "left", .     mar = c(1, 1, 1, 1), col = 2)
2. textplot.character(temptext1, valign = "center", cex = 0.8, halign = "left", .     mar = c(1, 1, 1, 1), col = 2)
3. plot.new()

参考:R How to Fix: Error in plot.new() : figure margins too large (3 Examples)

参考:R

Error in plot.new(): figure margins too large相关推荐

  1. Error in plot.new() : figure margins too large

    Error in plot.new() : figure margins too large 目录 Error in plot.new() : figure margins too large #问题 ...

  2. R语言错误 --> Error in plot.new() : figure margins too large

    [问题描述] 在RStudio中运行R命令绘图时,出现如下错误: Error in plot.new() : figure margins too large [解决办法] 在绘图命令前,加上一句代码 ...

  3. 解决RStudio中plot.new() : figure margins too large问题

    在RStudio中使用plot()函数进行画图时,常出现"plot.new() : figure margins too large"问题.如图(1)所示. 出现该问题的原因是,R ...

  4. R绘图: figure margins too large错误

    最近在研究分类器,鸢尾花数据用得审美疲劳了,就从网上找了一个breast-cancer-wisconsin数据集. 建模前照例是做一些描述性统计,看下样本特征.数据集有9个自变量,1个因变量标签,先简 ...

  5. r语言 figure margins too large

    r语言错误如下图(数字边距太大) 解决方法:点plots界面的扫帚清空图像

  6. mysql错误码1709_MySQL5.6出现ERROR 1709 (HY000): Index column size too large问题的解决方法...

    一.问题 mysql 5.6 出现如下问题: [ERROR 1709 (HY000): Index column size too large. The maximum column size is ...

  7. r语言报错|Error in plot.window(...) : ‘xlim‘值不能是无限的

    plot()绘制图层时报错 错误提示: Error in plot.window(...) : 'xlim'值不能是无限的 In addition: Warning messages: 1: In m ...

  8. 【r语言plot报错】Error in plot.window(...) : ‘xlim‘值不能是无限的/ need finite ‘xlim’ values

    使用r语言plot函数绘图时,遇到[Error in plot.window(-) : 'xlim'值不能是无限的(need finite 'xlim' values)]的报错. 其中x轴为字符串序列 ...

  9. matplotlib基础函数函数 plot, figure

    matplotlib.pyplot.plot(*args, scalex=True, scaley=True,data=None,**kwargs) 用线段和标记去绘制x和y.调用签名: plot([ ...

最新文章

  1. c++之数组指针作为形参,并返回数组
  2. python的head函数_python – 是否有一个pandas函数来显示第一个/最后一个n列,如.head().tail()?...
  3. linux下aio异步读写详解与实例
  4. MySQL数据库恢复(LOAD DATA)
  5. 一元多项式的表示和相加【数据结构】
  6. .net 动软代码生成器
  7. 权势二进制(51Nod-1413)
  8. ASP.NET MVC中的ActionResult--总结
  9. Android基础 --- Widget
  10. linux 安装_linux 安装 powershell
  11. 橡胶柱压缩_橡胶=汽车半条命:浅谈ABAQUS橡胶大变形仿真5大注意事项
  12. 车路云一体化融合控制系统白皮书
  13. SEO关键词策略——新站如何抗衡老站…
  14. 985研究生在华为年薪30万,室友同学在美国亚马逊,一晒收入,蒙了!
  15. 把日期横杠转化为斜杠
  16. Sky光遇云野光之翼在哪获得
  17. C++ count函数的用法(可以用作统计个数)
  18. 如何建立自己的知识体系?
  19. 怎样搭建自己的网站,如何利用花生壳建立个人简易静态网站?
  20. 侃一侃人工智能2-零散的人工智能概念

热门文章

  1. 赛码浪潮笔试题库软件实施岗位_赛码 -HRTechChina中国人力资源科技-向上的力量!...
  2. matlab绘制圆,且求解两个圆的交点坐标
  3. 全球首个开源图像识别系统上线了!人脸、商品、车辆识别一网打尽!
  4. 童心未泯的 YOLO 之父,小马哥 Joseph Redmon 笑傲 CV 江湖记
  5. 钢铁平面焊接缺陷检测,有方案、有代码
  6. SLAM从0到1——状态估计之最小二乘问题解法:最速下降法、牛顿法、高斯牛顿法、LM法...
  7. 基于PHP的图片共享网站设计,基于PHP实现的WEB图片共享系统(SQL数据库),毕业论文设计...
  8. 单目相机的内外参标定
  9. Elsevier的Greg Landrum访谈 | 成功的开源化学信息软(RDKit)的要素是什么?
  10. statTarget-基于QC样本的代谢组学数据校正