I had a vector like this : 

```
x= c(0.542949849, 0.242292905, 0.163459552, 0.069668097, 0.042969073, 0.035829825)

```

and I want to plot `(x[i], x[i+1])`. Using Excel I got this : 
[![enter image description here](https://i.stack.imgur.com/n9fpV.png)](https://i.stack.imgur.com/n9fpV.png)

How can I get this graphic in R ? I tried this :

```
for(i in 1:5){
  plot(x[i], x[i+1])
  par(new = TRUE)
}

```

but it doesn't give the excepted result