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

alex_eagle

Austria
36 Posts

Posted - 09/29/2003 :  11:03:43 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi experts,

I want to get X and Y coordinate in a graph window by using the screen reader tool with getpts -a 1 command.
The X-position is easily accessed via the _xpos-variable. However, I am not able to get the Y-position. This only works with the getpts 1 command by using the _indx-variable. But in this case I am limited to points on the (line) graph itself and not on the entire layer.
How is this done in Labtalk ?

Alex


rlewis

Canada
253 Posts

Posted - 09/29/2003 :  12:51:09 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you issue the Labtalk command "dotoolbox 2", and double click in the graph window, the x- and y-coordinates of that point in the active layer should be stored in the Origin variables x and y
Go to Top of Page

alex_eagle

Austria
36 Posts

Posted - 10/01/2003 :  10:56:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanx, thats the perfect solution !
Never thought of using DoToolbox command.


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