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
 Transpose function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

medjahdi

France
6 Posts

Posted - 06/06/2003 :  11:20:57 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,
I want to transpose a worksheet with Lab Talk but I don't find the corresponding function. I use origin6.1 Pro.
Thanks

Mike Buess

USA
3037 Posts

Posted - 06/06/2003 :  12:17:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In Origin 7 there is a transpose command at the bottom of the Edit menu that will do what you want. I think it's also there in Origin 6.1, but if it isn't you might try converting to a matrix, transposing the matrix and converting back to a worksheet.

...You want to do it in LabTalk. Certainly there are commands available for the second method. If Transpose is available on your Edit menu you can also find its menu ID (Ctrl+Shift+Transpose will type it to the script window) and execute it with

menu -e menuID;

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 06/06/2003 12:21:33 PM
Go to Top of Page

jonni

United Kingdom
58 Posts

Posted - 06/06/2003 :  12:18:58 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

For the current active worksheet the command is:

domenu 36466

(You can find other useful actions like this -- hold down CTRL and SHIFT when you click on edit:transpose and in the script window you will get a response Menu id=36466. To do the same action with labtalk use the 'domenu' command. This works for most menu items.)

Hope this helps.

jonni
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