fix dump slice
add plot scaling
added constant