0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

R > Link > plot() > typeの指定 > 9通り / plot(tx,ty1,type="b",col="red")

Last updated at Posted at 2016-09-23
動作環境
RStudio 0.99.903 on Windows 7 pro
R version 3.3.1

R機能マップ http://qiita.com/7of9/items/0f911bcb95d3a8bbd703

plot()ではtypeを指定することで、点のプロットや線のプロット、点と線のプロットなど選択できるようだ。

参考 http://cse.naro.affrc.go.jp/takezawa/r-tips/r/48.html

> tx<-c(1,2,3)
> ty1<-c(4,5,6)
> plot(tx,ty1,type="b",col="red")

qiita.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?