Skip to content

Commit

Permalink
Don't run vertical/horizontal lines alone due to ggplot par issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pchelle committed Oct 21, 2021
1 parent bf5470b commit fd59753
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions vignettes/atom-plots.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -245,20 +245,6 @@ addLine(

Since line plots can inlcude horizontal and vertical lines, `addLine` has the possibility of using *x* or *y* input for x/y-intercepts.

```{r addLine horizontal lines}
addLine(
y = c(1, 2, 3),
caption = "horizontal lines"
)
```

```{r addLine vertical lines}
addLine(
x = c(1, 2, 3),
caption = "vertical lines"
)
```

The functions `addScatter` and `addLine` can also be combined:

```{r addLine with plotObject}
Expand Down

0 comments on commit fd59753

Please sign in to comment.