I was working on my laptop with my project. I switched to my desktop. There I wanted to print out one graph. The OS on the desktop was new so I had to install a printer. And after the installation of the printer all graphs made by my script were portrait. Just because origin thinks it has to change in "page setup" from landscape to portrait, after installing a printer.