Dear Sanjay, Thank you for the code. I'm using the "proc template version" since I added 2 axistables with other…