working with plotting and importing from hdf