Hi all,
I am trying to get a second y axis into an subplot.
figurehandle1 = subplot(3,3,1)handle2 = axes('YAxisLocation','right','Color','none', ... 'XGrid','off','YGrid','off','Box','off');
This creates an additional axis object on the edge of the whole figure and not on the edge of the subplot. Setting the parent property of axes to handle1 is not possible. Calling axes(handle1) does not help. plotyy() works but has a strange behavior in a certain way. Therefore I want to use a own axis. I have not figured out what plotyy does to solve this problem.
Do you have an idea?
Thanx, Milan
Best Answer