T O P I C R E V I E W |
Locardas |
Posted - 02/08/2022 : 11:50:06 AM Origin Ver. and Service Release (Select Help-->About Origin): 2021b Operating System: Windows 10
Dear Origin Forum,
I have created a ribbon plot (Figure 1) whose x-axis I want to change from a numbering of 1-42 to a date+time unit.
When I create a corresponding X column in my workbook, Origin cannot distinguish between 2 different times on the same day. The result is that the corresponding y-values are overlapping in the plot (see figure 2).
How do I get a plot that looks like Figure 1 but with a time scale?
Best regards, Locardas
|
4 L A T E S T R E P L I E S (Newest First) |
Locardas |
Posted - 02/09/2022 : 12:57:35 PM quote: Originally posted by minimax
Hi Locardas,
There is no problem of the time axis plot.
It display differently from the other one because the X data is not in monotonic order.
If you sort the column ascending, the 2 graphs will look basically the same.
PS, it is not 100% the same since the X data has some missing date, like 2019-12-16 is missing, so it will have a bigger gap.
Thanks for the tip, it worked perfectly!
With kind regards, Locardas |
minimax |
Posted - 02/09/2022 : 04:17:23 AM Hi Locardas,
There is no problem of the time axis plot.
It display differently from the other one because the X data is not in monotonic order.
If you sort the column ascending, the 2 graphs will look basically the same.
PS, it is not 100% the same since the X data has some missing date, like 2019-12-16 is missing, so it will have a bigger gap. |
Locardas |
Posted - 02/09/2022 : 03:02:33 AM Hello Snow,
thank you for your offer, of course I'll be happy to let you take a look at my project:
!!https://my.originlab.com/ftp/forum_and_kbase/Images/Timeline_Plots.opju
Best wishes, Locardas |
snowli |
Posted - 02/08/2022 : 2:24:46 PM Do you mind sharing your project? It's hard to tell how the date column is set to Date or not since i can't tell if the date are right aligned. And not sure how you you modified the axis scale and tick labels.
And maybe when plotting for the first time, you can directly use A as X so no need to first plot with sample ID as X and change axis later.
Thanks, Snow |
|
|