BUG : raise exception in subplot if num out of range

if subplot(rows, cols, num) is called with num not in
0 < num <= rows * cols raise a ValueError

close #3166
it wasn't to support the 3-digit number scheme, it was to mirror the syntax of matlab, which does 1-base indexing.