import yt ds = yt.load('ZeldovichPancake/plt32.2d.hdf5') p = yt.ParticlePlot(ds.all_data(), 'particle_position_x', 'particle_velocity_x') p.show()