something about drawing stack plots