Linking subplot x-axes containing dates

thanks for the replies
Not a great success so far:

Maybe try removing the xticks kwarg from the individual plots and move it to the combined plot?

unfortunately that was not making a difference.

Did you try xlims ? See proper syntax for dates here .

maybe I’m not fully following the suggestion entirely, are you referring here to a syntax where automatic min_date and max_date are recognized by Julia or one that should be set manually?

Setting them manually, didn’t really help unfortunately:
plot_merged=plot(plot_water,plot_pressure,layout = (2, 1),link=:x,xlims = Dates.value.((timestamps[1],timestamps[end])))

it provides an error, but than still plots the same as before.
ERROR: type ZonedDateTime has no field instant Stacktrace:

using it in the copy-paste way throws an error and doesn’t plot
xlims = Dates.value.((min_date,max_date))
ERROR: UndefVarError: min_date not defined

thanks