chrisadolph/tile-simcf — Issue #27: Ropeladder fails with only 2 points, if titles are present
Author: mikefree88
Created: 2012-02-28 05:20:53+00:00
State: open

There seems to be a bug somewhere in the ropeladder code which causes it to fail if it has only 2 x points and 2 labels **(ie, works with 3 points and 3 labels, works with 2 points, but does not work with 2 points with 2 labels). For example:

```R
trace1 <- ropeladder(x=c(0,1,2),
lower = c(-.5, .5,1.5),
upper = c(.5, 1.5, 2.5),
labels = c("M", "So", "Ed"),
plot=1
)
tile(trace1)

trace2 <- ropeladder(x=c(0,1),
lower = c(-.5, .5),
upper = c(.5, 1.5),
labels = c("M", "So"),
plot=1
)
tile(trace2)
```