cosmo plot slices hdr

function cosmo_plot_slices(data, dim, slice_step, slice_start, slice_stop)