# MATLAB: How to plot 2 different graphs on the same axis

plot graph different axis

Hi,
I have 2 graphs (each one represent a model in a catia file), one is on the Y-X axis and the other one in Z-X. I need to plot those 2 graphs on the Y-X axis, how can I change the axis for the second graph in matlab ? (if it's possible)
figure(1)plot(X, Y)hold onplot(X,Z)hold offgrid