figure
subplot(6,1,1)
plot(1:one_plot, X(1:one_plot))
set(gca, 'XTick', hour_sub1, 'XTickLabel', tick_label_1);
ylim([0.0, 3])
subplot(6,1,2)
plot(one_plot+1:2*one_plot, X(one_plot+1:2*one_plot))
set(gca, 'XTick', hour_sub2, 'XTickLabel', tick_label_2)
ylim([0.0, 3])
subplot(6,1,3)
plot(2*one_plot+1:3*one_plot, X(2*one_plot+1:3*one_plot))
set(gca, 'XTick', hour_sub3, 'XTickLabel', tick_label_3)
ylim([0.0, 3])
subplot(6,1,4)
plot(3*one_plot+1:4*one_plot, X(3*one_plot+1:4*one_plot))
set(gca, 'XTick', hour_sub4, 'XTickLabel', tick_label_4)
ylim([0.0, 3])
subplot(6,1,5)
plot(4*one_plot+1:5*one_plot, X(4*one_plot+1:5*one_plot))
set(gca, 'XTick', hour_sub5, 'XTickLabel', tick_label_5)
ylim([0.0, 3])
subplot(6,1,6)
plot(5*one_plot+1:size(X), X(5*one_plot+1:size(X)))
set(gca, 'XTick', hour_sub6, 'XTickLabel', tick_label_6)
ylim([0.0, 3])
Best Answer