I am not sure if you mean the LDOS or projected LDOS (PLDOS), but for the PLDOS you can get the data like this:
pldos = nlread('ncfile', ProjectedLocalDensityOfStates)[0]
dos = pldos.evaluate()
energies = pldos.energies()
z = pldos.zSlicing()
"z" would be the x-axis for plotting, "energies" would be the y-axis, and the dos data would be in the array "dos".