The graph is created using the GTL LAYOUT LATTICE. With SAS 9.3, you can enable the X2 axis, and use…