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
 Origin Forum
 The function of a drawn line
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Ek

USA
Posts

Posted - 07/05/2004 :  5:40:16 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, if I draw a straight line manually (by means of arrow) on a grey scale, is it possible to get the linear function of that line by origin?
Thanks.

Mike Buess

USA
3037 Posts

Posted - 07/06/2004 :  07:56:07 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The coordinates of the endpoints can be found from its object properties. (See Object Reference->Internal Object Overview->User-created Visual Objects in your Labtalk Language Reference.) Example...

select -g A; // get the name of the (selected) line
xx1=%A.x1; // x of starting point
xx2=%A.x2; // x of end point
yy1=%A.y1; // y of starting point
yy2=%A.y2; // y of end point

Mike Buess
Origin WebRing Member
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