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
 Origin Forum
 Date and Hour in X-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
a01317910 Posted - 01/31/2024 : 3:10:34 PM
Hello! I want to plot something like the image, with the date and the hour for every day. Can you help me?



Cari
4   L A T E S T    R E P L I E S    (Newest First)
snowli Posted - 02/01/2024 : 1:57:35 PM
Please see this better opju my colleague made.

She used date X directly.
Set the major scale increment to 70 minutes,
turn on table
specify how the display format for bottom1 and 2 display format based on date X.
...

https://my.originlab.com/ftp/forum_and_kbase/Images/date_two_tick_labes_modified.opju

Best, Snow
a01317910 Posted - 01/31/2024 : 7:30:38 PM
Thank you so much. It was super helpfull!!

Cari
snowli Posted - 01/31/2024 : 4:53:07 PM
Hello,

We will support this better in the coming 2024b so the same date info. can show in a new row.

Instead of using the blog, please see the attached opj.
1. I set Date column A as disregard so not using it as X info.
2. Add B and C column with extracted Day and Time info. as text.
3. Plot the date so it's plotted against row numbers.
4. In axis dialog, on Scale tab, set scale to be from 1 to 63 and major tick increment by 1.
5. Go to Tick labels tab, go to Table sub tab and enable it. Number of Rows to 2.
6. Set Table Layout -> Merge Labes to be Within Subgroups/Subsets.
7. With Bottom 1 selected on the left, go to Display tab and set Type: Text from Dataset and Dateset Name as column B.
8. With Bottom 2 selected on the left, go to Display tab and set Type: Text from Dataset and Dateset Name as column C.
9. Go to Format tab of Bottom2 and set Rotate to 90.
10. On tab tabs of Bottom 1 and 2, u can also uncheck those borders.

https://my.originlab.com/ftp/forum_and_kbase/Images/date_two_tick_labes.opju

Thanks, Snow
snowli Posted - 01/31/2024 : 3:40:06 PM
Hello,
Please see if this blog helps.

https://blog.originlab.com/display-date-and-time-tick-labels-in-multiple-lines

Thanks, Snow

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