Author |
Topic |
|
aplotnikov
Germany
162 Posts |
Posted - 03/17/2017 : 07:05:38 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): Pro 8.6 SR6 b99 64-bit Operating System: Win 7 Pro SP1
Hello,
is it possible to implement "vertical cursor" - i.e., moveable vertical line which can be dragged along the x-axis like in VerticalCursor-gadget - by Labtalk features (doToolbox with PointProc, draw -l(m), etc.)? The aforesaid gadget is very powerful, but I need a much simpler version with no dialog in PointProc. Any simple OriginC implementation is also welcome.
I would appreciate for any helpful hint.
Regards,
Alexei |
|
yuki_wu
896 Posts |
Posted - 03/19/2017 : 11:52:54 PM
|
Hi,
Let me take a simple example which you can improve as you desired: 1. Add a line object in your graph; 2. Right click to select Properties...; 3. Go to Programming tab, select Moved in Script Run After item; 4. Type “type -a $(this.X)” in the edit box; 5. Click OK button.
After that, you will see the X value of this line every time you move it. Note that the dialog above is opened in Origin 2017, you may need to find the corresponding item in Origin 8.6 by yourself.
Regards, Yuki OriginLab
|
|
|
aplotnikov
Germany
162 Posts |
Posted - 03/20/2017 : 04:39:58 AM
|
Hi Yuki,
thank you very much for the idea. It works perfectly.
Best regards,
Alexei |
|
|
|
Topic |
|
|
|