How to put two separate scales on the same x-axis?
1 view (last 30 days)
I would like to create a plot in MATLAB with two separate scales along the x axis. I need the negative x-axis to go from -15 to 0 and have intervals of 5 and the positive x-axis to go from 0 to 0.8 with intervals of 0.1. The plot needs to have the same x-axis as the image. Thank you.