What do you mean, "If the axes in lulu and gugu are not the same"? Are you talking about their limits or their labels or their colors or their grid status or what?
If you are talking about something which has a handle, like the xlabel, ylabel, and title, you can simply add a line in the code I gave you for each subplot:
P = subplot(1,2,2);
T = get(gu_ax,{'title';'xlabel';'ylabel'}); % Get the title, xlabel and ylabel.
copyobj([get(gu_ax,'children');[T{:}]'],P)
Now any other properties you want copied, you could do like this:
C = {'xlim';'ylim';'color'}; % Cell of properties to copy
set(P,C,get(gu_ax,C)) % And likewise for lu_ax etc.
If you are talking about something which has a handle, like the xlabel, ylabel, and title, you can simply add a line in the code I gave you for each subplot:
P = subplot(1,2,2);
T = get(gu_ax,{'title';'xlabel';'ylabel'}); % Get the title, xlabel and ylabel.
copyobj([get(gu_ax,'children');[T{:}]'],P)
Now any other properties you want copied, you could do like this:
C = {'xlim';'ylim';'color'}; % Cell of properties to copy
set(P,C,get(gu_ax,C)) % And likewise for lu_ax etc.