Add function to create a picture based on a two dim slice