Print figure in window