How to select first entry of multiple xlim
1 次查看(过去 30 天)
显示 更早的评论
Hello,
imagine I have subplots like
for i=1:2
ax = subplot(1,2,i)
xlim(ax(1),[0 130])
xlim(ax(2),[0 140])
end
How can I select only the first xlim entry of ax(1)? I tried this command:
x1 = xlim(ax(1),1); and several other combinations. Best regards Henrik
1 个评论
Jan
2017-11-15
The question is not clear. After ax = subplot(1,2,i), ax is a scalar, such that "ax(2)" should fail.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!