Improved error trapping in plots

Before, it gave a confusing error when trying to plot a malformed HDF5
file, i.e., with no NXentry group.