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
 Exchange X and Y axes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 02/19/2021 :  10:23:09 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2021b (64-bit) Beta 6 9.8.5.111
Windows 7 Pro x64 SP1

Greetings!

https://www.originlab.com/doc/LabTalk/ref/Layer-cmd#-b.3B_special_plotting_parameters suggests to use:
layer -b x;

to exchange X and Y axes or simulate Exchange X-Y Axes command.

However, the command has no effect on my installation.
Please confirm.

Thank you.

---
Andrey

cpyang

USA
1406 Posts

Posted - 02/19/2021 :  11:42:19 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Exchange XY is on the Graph menu, many menu commands are based on LT, so hold Ctrl+SHIFT to select a menu command will often show you the actual script.


When I tried, I got
layer -b XULchange -1;

CP
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 02/19/2021 :  1:43:21 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by cpyang

Exchange XY is on the Graph menu, many menu commands are based on LT, so hold Ctrl+SHIFT to select a menu command will often show you the actual script.


When I tried, I got
layer -b XULchange -1;

CP




Dear CP,

This works:
layer -b XULchange -1;


I think it is worth updating the help page.

As for the show command trick: Origin shows nothing for me if I hold Ctrl+SHIFT to select a menu command.
Can you share a screenshot of this?

---
Andrey
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 02/19/2021 :  6:39:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
We will put together a short video, but in the meantime, will the following help?

https://www.originlab.com/doc/LabTalk/guide/Getting-Started-with-LT#Using_CTRL_.2B_SHIFT_to_capture_Menu_Command_and_Toolbar_Button_Script


CP
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 02/20/2021 :  04:09:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by cpyang

We will put together a short video, but in the meantime, will the following help?

https://www.originlab.com/doc/LabTalk/guide/Getting-Started-with-LT#Using_CTRL_.2B_SHIFT_to_capture_Menu_Command_and_Toolbar_Button_Script

CP




OK, now I got it, and no video is required.
However, I still think it is worth updating the help page.

---
Andrey
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