cedra
cedra

Reputation: 93

Plot figures in the same figure

I would like to plot 2 figures in the same figure:

A = Figure1;
B = FIgure2;

plot(A);
plot(B);

Is there any comand to make it?

Upvotes: 1

Views: 57

Answers (1)

woske
woske

Reputation: 118

To plot 2 figures you can use subplot:

subplot(1,2,1), plot(A);
subplot(1,2,2), plot(B);

Upvotes: 2

Related Questions