Selecting plot for drawing text
1 次查看(过去 30 天)
显示 更早的评论
I have two figures. If I would like to plot something in each plot, I may write with handles:
x = figure;
y = figure;
plot(gca(x), 1, 1);
plot(gca(y), 1, 1);
I would like to accomplish the same thing using the text and line commands. Is there a way to do this? Text and line don't allow axis handles to be passed in as arguments. Thanks in advance.
0 个评论
采纳的回答
更多回答(1 个)
Ping
2011-7-12
I think you can use figure(1), figure(2) to create figure and switch the current figure.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!