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
 X axis Date and Time format
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JThieser

16 Posts

Posted - 02/08/2012 :  08:26:59 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:
Hi maybe one of you can help me.
When i'm plotting an timeseries and use date and time for the x axis and the moment i can only have time and date in one row.
May is there a chance to have time and date in two lines??
Now is it looking like: 01.12.2008 12:00

what i would like to have is: 12:00
01.12.08

May be any suggestions??
Thanks

Penn

China
644 Posts

Posted - 02/10/2012 :  05:27:05 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I am afraid that it cannot be done directly. One solution is adding one more layer linked X. The following tips may help.

1. Set two customized format for date and time, such as MM'.'dd'.'yy and hh:mm. You can do it by menu Tools: Options, and then go to the Miscellaneous tab. Please refer to this page for more details.

2. Set tick label by using the customized date and time format, such as

layer.x.label.type = 4;  // Date
layer.x.label.timeformat = 20;  // the first customized format

This page can help you more.

3. Add one more layer by the layadd X-Function, and then set the tick label as Tip 2 above.

4. Move the tick label position, so to make them look like two lines.

Penn
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