I'm using yyaxis left/right to plot different graphs together and I want to change the axes limits for one side. ylim does not work in this case – is there another way to specify the limits for each side separately? I also want to label each side yaxis separately. Does anyone know how to do this?

This is my current code:

yyaxis left

scatter(sqrtinvT7,set7m)

yyaxis right

scatter(sqrtinvT7,set7c)

## Best Answer