chrisadolph/tile-simcf — Issue #25: In ropeladder, need an error message for mismatch of length of labels and length of x
Author: chrisadolph
Created: 2012-02-19 23:36:06+00:00
State: open

Currently, if a user provides more labels for scenarios than there are scenarios to plot (ie, the length of ```labels``` exceeds the length of the data vector, be it ```x```, ```y```, ```top```, or ```right```), a cryptic error results (```Error in validGP(list(...)) : Invalid font face```).

Obviously, we want a more appropriate error, such as:

```The number of labels given to ropeladder exceeds the number of datapoints to plot.```