How i can plot two graphs in one figure?

1 visualización (últimos 30 días)
Raidar Ali
Raidar Ali el 29 de Dic. de 2018
Comentada: madhan ravi el 29 de Dic. de 2018
tell me about the simplest commnd to plot the two graphs in one figure.

Respuesta aceptada

madhan ravi
madhan ravi el 29 de Dic. de 2018
Editada: madhan ravi el 29 de Dic. de 2018
See https://www.mathworks.com/help/matlab/ref/hold.html , the command would be hold on
% an example
plot(1:10)
hold on
plot((1:10).^2)
Screen Shot 2018-12-30 at 12.40.17 AM.png
  1 comentario
madhan ravi
madhan ravi el 29 de Dic. de 2018
If it's what you are looking for make sure to accept the answer else let know

Iniciar sesión para comentar.

Más respuestas (0)

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