Improved saving/plotting of memb pot on dends