Support setting the XRange in plots

This feature is documented in the README but was not available before.