I have a problem, where I already have a handle to a figure created, and I want to somehow now draw a line, given that handle. For example, I have:
f1 = figure(1);
a1 = gca;
For commands like plot
and surf
, I can pass the axes and/or figure handles to tell it to plot to that particular figure. However, how do you do this with the line
command? There does not seem to be a way as far as I know... thank you.