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
 Labtalk: Draw Arrows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jdarland

Portland, OR, USA
4 Posts

Posted - 01/13/1999 :  3:12:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I noticed a post along these lines a few months ago, but there were no posted replies.

I would like to create my own vector plots, as opposed to using the vector template. The first part of this is straightforward in terms of drawing the lines:

loop(i,1,n) draw -n arrow$(i) -l {col(x)[i],col(y)[i],col(x)[i]+(col(dx)[i]*scale),col(y)[i]+(col(dy)[i]*scale)};

How do I at the arrow head to the end of the lines (the equivalent of selecting a line manually, at checking the box (arrow control: arrow at end). The way this is performed in origin leads me to believe the arrows and lines are the same object type, with a property toggle somewhere that I cannot find.

Thanks for the help,

jeff

greg

USA
1379 Posts

Posted - 01/18/1999 :  1:48:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
As I mentioned in my reply to your post about drawing rectangles, the annotation objects were not designed to be programmable. There is no script accessible property for turning on or off the arrows at the beginning or end of a line. That can only be done through the dialog box.
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