how to match x-axis subplots?

Hi all,
I've attached a figure that contains three subplots which have three different years
what I need is to make all the Ticks matched to each other and in alignment
Any help would be appreciated.

4 Comments

How do you want to match it? Desired result example?
Lilya
Lilya on 11 Jul 2020
Edited: Lilya on 11 Jul 2020
thanks Madhan for the reply.
I want all the day-month to be in the same subsequent time step.
when I use the detetick it doesn't show the same subsequential order/timesteps.
the below time vectors are for the subplots 1,2,3 respectively, weeks18, weeks19, weeks20
weeks18= [
737064
737071
737078
737085
737092
737099
737106
737113
737120
737127
737134
737141
737148
737155
737162
737169
737176
737183
737190
737197
737204
737211]
weeks19 = [
737429
737436
737443
737450
737457
737464
737471
737478
737485
737492
737499
737506
737513
737520
737527
737534
737541
737548
737555
737562
737569
737576]
weeks20 = [
737794
737801
737808
737815
737822
737829
737836
737843
737850
737857
737864
737871
737878
737885
737892
737899
737906
737913
737920
737927
737934
737941]
yes it does
Thank you very much!

Sign in to comment.

More Answers (0)

Asked:

on 11 Jul 2020

Answered:

on 11 Jul 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!