Maybe what you really want to use is the LDOS instead though, because the DDOS is not spatially resolved. The way we achieve that is by projecting on atoms, layer by layer. If your structure is layered in Y, you can achieve they same, but you have to figure out which atoms that should belong to which layer, and then project on each group of atoms (each layer).