A border/perimeter/rectangle around the inset plot, in a subplot environment
Show older comments
In the following subplot environment, how can I draw a red border/perimeter/rectangle around/wrapping the inset plot?
fig = figure;
for i = 1 : 6
subplot(3,2,i)
scatter(rand(1,10),rand(1,10))
end
axes(fig,'Position',[.1 .2 .2 .2])
plot(1:5,rand(1,5))
Accepted Answer
More Answers (1)
Categories
Find more on Subplots 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!


