2
我的代码的一个y轴:逆转的plotyy
figure
[ax, h1, h2] = plotyy(x1,y1,x2,y2,'semilogy','semilogy');
现在我想扭转所述第二y轴的方向。我尝试添加:
set(h2,'YDir','reverse');
但是,这将导致以下错误:
The name 'YDir' is not an accessible property for an instance of class 'lineseries'.
您可以使用在你的剧情指令中有'flipud'或'fliplr'。 – oligilo