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
 Draw a vertical line at a date axis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Sell

Germany
20 Posts

Posted - 07/21/2015 :  12:05:58 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I would like to draw a vertical line in a diagram that has a date/time x-axis. What is the right syntax? draw -l -v "17.07.2015" did not show up with a line. For shure this is a simple thing but I expect a tricky syntax.

jasonzhao

China
262 Posts

Posted - 07/21/2015 :  9:45:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,


We can convert the DATE to a numeric value using function below:

http://www.originlab.com/doc/LabTalk/ref/Date-func

for instance,


value=Date(17-07-2015,"dd-MM-yyyy");

draw -l -v value;


Best regards!
Jason
OriginLab Technical Service


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