The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Graph portrait
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

SvenP

29 Posts

Posted - 08/19/2010 :  07:03:58 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

SvenP

29 Posts

Posted - 08/20/2010 :  03:44:27 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000