楼主: aiqingjiel
1322 1

[学习分享] 关于plot函数的学习分享 [推广有奖]

  • 0关注
  • 1粉丝

已卖:63份资源

本科生

26%

还不是VIP/贵宾

-

威望
0
论坛币
267 个
通用积分
7.1985
学术水平
9 点
热心指数
9 点
信用等级
4 点
经验
564 点
帖子
43
精华
0
在线时间
88 小时
注册时间
2009-12-22
最后登录
2024-8-7

楼主
aiqingjiel 发表于 2018-6-8 23:31:39 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Generic X-Y Plottingusageplot(x, y, ...)Arguments
x

the coordinates of points in the plot. Alternatively, a single plotting structure, function or any R object with a plot method can be provided.(可简单理解为x轴上的数据,在R中通常为向量)

y

the y coordinates of points in the plot, optional if x is an appropriate structure.(可简单理解为y轴上的数据,在R上通常为向量)

...

type

what type of plot should be drawn. Possible types are

  • "p" for points(点),

  • "l" for lines(线),

  • "b" for both(点之间用线连接),

  • "c" for the lines part alone of "b"(b中仅保留线),

  • "o" for both ‘overplotted’(用线串接点),

  • "h" for ‘histogram’ like (or ‘high-density’) vertical lines(垂直于x轴的线),

  • "s" for stair steps(x-y阶梯图),

  • "S" for other steps, see ‘Details’ below(y-x阶梯图),

  • "n" for no plotting(无图形,仅存坐标轴).


All other types give a warning or an error; using, e.g., type = "punkte" being equivalent to type = "p" for S compatibility. Note that some methods, e.g. plot.factor, do not accept this.

main

an overall title for the plot: see title.

sub

a sub title for the plot: see title.

xlab

a title for the x axis: see title.

ylab

a title for the y axis: see title.

asp

the y/x aspect ratio, see plot.window.


例子对比:





37CAEA42-D862-45EA-9EB9-66FEADDDC95D.png
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝


已有 1 人评分论坛币 收起 理由
cheetahfly + 30 精彩帖子

总评分: 论坛币 + 30   查看全部评分

沙发
hifinecon 发表于 2018-6-9 05:23:18
thanks for sharing

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-26 04:16