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
 How to change the color and add a arrow
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Moorleiche89

Germany
2 Posts

Posted - 01/15/2019 :  08:17:15 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hallo everyone,

I need your help. I want to change the color of a plotted line with
LabTalk. From black to red. And additional i need to marker a line between two Points with two arrows (Arrowlines with a invisible line) with LabTalk, too.

I hope you can help me.
Thanks

yuki_wu

896 Posts

Posted - 01/16/2019 :  02:13:46 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Use set -c command to set plot line color
https://www.originlab.com/doc/LabTalk/ref/Options_for_DataPlots#-c

Use draw -l command to create a line:
https://www.originlab.com/doc/LabTalk/ref/Draw-cmd#Draw_Lines_Syntax:
Then set properties of line, like arrow shape, arrow width, arrow lenghth, as below:
https://www.originlab.com/doc/LabTalk/ref/Graphic-objs#Properties

Regards,
Yuki

OriginLab
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