Selecting plot for drawing text
Show older comments
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.
Accepted Answer
More Answers (1)
Ping
on 12 Jul 2011
0 votes
I think you can use figure(1), figure(2) to create figure and switch the current figure.
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!