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
 What the difference between
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

NoMe02551

Slovakia
8 Posts

Posted - 06/03/2011 :  02:59:46 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.5.0 SR1 b161
Operating System: XP SP3

in labtalk script:
1. newpanel
2. win -t plot

? I try find difference but unsuccesfully

and I need draw axis TopX and RightY in the SAME layer where is graph.
I find:

layadd type:=TopX (or RightY)

but it is in new graph layer :(

thank
Norbert

greg

USA
1379 Posts

Posted - 06/03/2011 :  11:46:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
"win -t plot" is a LabTalk Command while "newpanel" is an X-Function.
The "window -t plot" command has very few options and has traditionally been used when you want to load a specific template file, while the X-Function has many options and is much more powerful.
Type "newpanel -h" of "help newpanel" in the Script Window to see the options.

Here is how to add top x and right y to the current layer:
layer.x.showaxes=3;
layer.y.showaxes=3;
Consult the LabTalk Object documentation for LAYER.
Go to Top of Page

NoMe02551

Slovakia
8 Posts

Posted - 06/06/2011 :  02:00:07 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Greg,
thank you for the explanation.
I have book LabTalk scripting guide for Origin 8.5 and I try find in help in Origin but I dont found more about layer.
Please where can I find it?

Thanks
Norbert

Edited by - NoMe02551 on 06/06/2011 03:47:41 AM
Go to Top of Page

greg

USA
1379 Posts

Posted - 06/07/2011 :  3:01:58 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The Scripting Guide is a good overview, but for complete details, you should use the Programming Help file. In the Help menu, choose Programming : LabTalk.

Look in Language Reference\Object Reference\Alphabetic Listing of Objects\Layer.Axis
Go to Top of Page

NoMe02551

Slovakia
8 Posts

Posted - 06/09/2011 :  02:40:53 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thanks greg I find it :)
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