Why do I get the warning: "Error updating Axes. DataSpace or ColorSpace conversion method failed." ?
5 次查看(过去 30 天)
显示 更早的评论
X = logspace(-4,1,2e3);
Y = abs(randn(length(X),1))*1e2;
figure
yyaxis left
loglog(X,Y);
ylim([1e-3,1e3])
yyaxis right
loglog(X,Y*1e-5);
ylim([1e-3*1e-5,1e3*1e-5])
When I'm using yyaxis, I want the coordinates on both sides to show different units of the same set of data, but I run into the above warning. Minimum working example is given.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!