4 graph in 1 figure

5 visualizaciones (últimos 30 días)
Berkay
Berkay el 30 de Ag. de 2022
Editada: Torsten el 30 de Ag. de 2022
I have 4 diffrent graphs and one of them is this;
P1 = [ 1 -2 -15];
P2 = [1 -7 12];
P3 = [1 1 -14 -24];
x = linspace(-100, 100, 250);
V1 = polyval(P1,x);
V2 = polyval(P2,x);
V3 = polyval(P3,x);
figure
plot(x, [V1;V2;V3])
Ax = gca;
Ax.XScale = 'linear';
Ax.YScale = 'linear';
Other 3 graphs are almost same for example one of them with logaritmic axes. How can I put them in same figure?

Respuestas (1)

Torsten
Torsten el 30 de Ag. de 2022
Editada: Torsten el 30 de Ag. de 2022

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by