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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Draw a vertical line at a date axis

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Sell Posted - 07/21/2015 : 12:05:58 PM
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.
1   L A T E S T    R E P L I E S    (Newest First)
jasonzhao Posted - 07/21/2015 : 9:45:38 PM
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



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000