MATLAB: How to plot multiple lines groups in 3D graph as in picture

plot gropus lineplot3