Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
SvenP
Posted - 08/19/2010 : 07:03:58 AM Origin Ver. 8.1 and Service Release 3 (Select Help-->About Origin): Operating System: WinXP
Hello.
I have a problem concerning plotting graphs. I use the following code in the script window: win -n graph Graph%N; label -s %N; plotxy aubulk_voigt plot:=201 size:=3 ogl:=1 color:=1 rescale:=0; set aubulk_voigt -k 2; set aubulk_voigt -kf 0; plotxy ausurface_voigt plot:=201 size:=3 ogl:=1 color:=1 rescale:=0; set ausurface_voigt -k 2; set ausurface_voigt -kf 1; plotxy %M_Eb plot:=201 size:=3 ogl:=1 color:=2 rescale:=0; set %M_Eb -k 5; set %M_Eb -kf 0; //plotxy %N_gauss plot:=201 size:=1 ogl:=1 color:=1 rescale:=0; //plotxy %N_ds plot:=201 size:=1 ogl:=1 color:=2 rescale:=0; //plotxy %N_voigt plot:=201 size:=1 ogl:=1 color:=3 rescale:=0; plotxy %N_result plot:=201 size:=3 ogl:=1 color:=4 rescale :=0; layer.x.from=-2; layer.x.to=3; layer.y.from=-0.01; layer.y.to=1.01; layer.x.inc=1; layer.y.inc=0.2;
It was working fine the graph was landscape. I changed nothing but now the graph is portrait.
What is the problem? Thanks.
btw. The values for set -kf are wrong in your wiki.
1 L A T E S T R E P L I E S (Newest First)
SvenP
Posted - 08/20/2010 : 03:44:27 AM O.k. I solved my problem.
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.