Can you format the code for your ax2 definition using the '{ } Code' button.
I cannot reproduce your problem, assuming it is the overhang of the second axis which is of issue. Would you mind providing more code for this?
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!