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
 Origin Forum
 Problems with waterfall plots
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

exmagmat

UK
2 Posts

Posted - 06/26/2003 :  05:36:48 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I am using Origin 7 SR0. I use 2D waterfall plots quite a lot (Special line/symbol - waterfall in the plot menu). When I create a new waterfall plot I get the options buttons to change the offset amounts etc. When I duplicate plots or merge several plots into one then those buttons disappear and I cannot modify the offsets any more.

Is there any way of getting the buttons back or changing the offsets in another way? I failed to find anything in the menus and online help. Or do I have to create my plots from scratch each time if I want to change anything in merged plots?

Can anybody help?
Thanks!
Ralph Wilks

Laurie

USA
404 Posts

Posted - 06/27/2003 :  5:50:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes, you can change the offsets using LabTalk script. When you first create the waterfall plot, if you Alt. + double-click on the 'Offset Amount' button, you will see that it runs the following:
run.section(template,waterfal);

This says to run the waterfal section of the template.ogs file. You can open template.ogs file in Origin. You will then see that the layer -y LabTalk command is what creates the offset.

In your merged graph, you will just need to make that layer active and then in the Script Window (opened by Window:Script Window), type the following:
layer -y 20,70

Press Return and you will see that the data is now offset by 20% in the X direction and 70% in the Y direction.

Let me know how it works.

OriginLab Technical Support
Go to Top of Page

exmagmat

UK
2 Posts

Posted - 07/04/2003 :  11:33:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The layer -y LabTalk command works fine. Problem solved! Thanks! :)
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