Multiple charts in the same window
Show older comments
I have seen that there is a way to make multiple charts in the same figure. I don't mean using subplot.
The result is a basic and slightly overlapping graph at the top, slightly external and smaller than another graph.
Do you know what the command is?
Answers (1)
Ameer Hamza
on 29 Sep 2020
0 votes
4 Comments
Matteo Novello
on 29 Sep 2020
Ameer Hamza
on 29 Sep 2020
Can you show an example?
Matteo Novello
on 29 Sep 2020
Ameer Hamza
on 30 Sep 2020
What about something like this
f = figure();
ax = axes('Position', [0.1 0.1 0.75 0.75]);
plot(rand(1, 10));
ax2 = axes('Position', [0.65 0.7 0.3 0.25]);
plot(rand(1, 10));

Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!