Ensure inputs to PLOT() are parsed correctly.

Closes hashtag31 in the chebfun/examples repo.