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
 Merged Graphs Rotating by Default
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Mulvenna

Germany
46 Posts

Posted - 09/16/2013 :  04:57:06 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I'm having a problem with merging graphs. I have a script file that opens graphs merges them and outputs 7 or 8 comparisons. Up to now the scirpt has worked fine but after rearranging some of the code to reduce its size, after the first graph when origin merges any other set of graphs it automatically rotates the page 90 degrees for some reason (definitely not in the code) Is there any reason that this would be happening?

Mulvenna

Germany
46 Posts

Posted - 09/16/2013 :  08:11:14 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Now there's just no pattern whatsoever, sometimes it merges the graphs in a portrait page and sometimes in a landscape page. All original graphs are portrait though.

Any help at all with fixing this would be greatly appreciated.

Thanks
Go to Top of Page

Mulvenna

Germany
46 Posts

Posted - 09/17/2013 :  07:22:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Again,

Managed to sort the problem, never found the cause but found a solution.

If anyone ever has this problem, there is a command to set the page to portrait:

page -o type portrait;

But this alone doesn't work, because when the page is portrait, it then turns it landscape. So I just used a small if statement.

if (page.height<6000)
{page -o type portrait;}


Hope this helps if anyone runs into this problem.
Just had a mini converstaion with myself there! :/
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