Multiple charts in the same window

1 view (last 30 days)
Matteo Novello
Matteo Novello on 29 Sep 2020
Commented: Ameer Hamza on 30 Sep 2020
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
Ameer Hamza on 29 Sep 2020
  4 Comments
Matteo Novello
Matteo Novello on 29 Sep 2020
Where the squares are 2 different plot. I see a comand for do this but I lost it
Ameer Hamza
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));

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!