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 line with 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 - 09/15/2010 : 04:16:58 AM
Origin Ver.8.1 and Service Release 3:
Operating System: Windows XP

It seems a simple question. How can I draw a vertical line with labtalk when the x-axis is with date data? Example: Draw the vertical line at July 31, 2002.
draw -l -v 31.07.2002 does not work. I was not really surprised but I assume there is a simple way to do it.
2   L A T E S T    R E P L I E S    (Newest First)
Sell Posted - 09/16/2010 : 03:49:39 AM
Thanks for the reply. It works but after a small adaptation. For any reason my Origin has the "DD/MM/YYYY" format as default - not as described in the help file. So, it is advisable to use always a format specifier when dealing with dates:
date(7/31/2002,1)
date(31/7/2002,2)
or even date(31.07.2002,"dd/MM/yyyy")
but not date(7/31/2002) this does not fit to my default handling.

Thanks again
Hans
Sam Fang Posted - 09/15/2010 : 06:26:16 AM
You can use the following script.

--------------------------------------------
draw -l -v date(7/31/2002)

--------------------------------------------

Sam
OriginLab Technical Services

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